Yes, but IMO restrictions are one of the main features of class-based systems. Classes consist of features and restrictions e.g. some classes can cast spells, some can't. Some classes can be good archers, some can't. And then there are the classes who could invest some options in spellcasting or...