It depends on the game, but usually, most characters can cast magic of some sort throughout the series. Other games only allow Mages and similar classes to use magic.