You can create non-standard race/class combinations by using #permarace and/or #permaclass when in-game (needs account status of 80 or above to use these commands).
One problem with this is that you won't be able to use a lot of items (including most class-specific items) that you normally could (e.g most wizard-usable items don't have Ogres in the list of races that can use them..), you can edit items to change this but this would take a LOT of time to change all of them.
A while ago, spellcasting classes could scribe and mem -any- spell if their level was over 60. It probably needs to be over 65 now, with PoP raising the level limit.
I'm not sure that pure melee classes can ever cast spells, even if they can scribe and memorise them, they probably won't be able to cast them since they have no mana.
|