All three kinds of wizard (PHB, VGtM, MotM) are capable of spontaneously producing external magical energy. Without a highly specialized subclass, fighters are not, and even with it their ability to do so is extremely limited.
Could you explain arectally sourcingat-will fireball fighter in some way? I'm sure you could. WotC however has no reason to, and neither do I. Nothing is stopping you from doing so.