I don't know.
If you change the class of ShadowHeart, their dialog will be a nonsense, not according to her history. Same for Gale, a wizard you could respec in rogue (for example) ? Pretty weird no ? ^^
In DoS2 it's not a problem, there is no class system.
I propose to add more companions to be able to choose one who suit more to your party.