Given the way the class determination works, it shouldn't do. There's a function that gets the class used to cast the spell, and unless you can somehow trick that into making your wizard spells become warmage ones (which should be a bug), it won't work.
I'm taking this from a theoretical viewpoint, feel free to try it and see how it goes