Everquest 2 did have a sort of class change option. If you betrayed from good to evil or vice versa you had the option to choose the other class within your archetype, so warlock could choose wizard etc. It involved a long quest and the penalities were fairly hard.
That’s as close as I can recall. In GW2 it would probably be quicker to reroll than to do the eq2 betrayal quest :-)