BG3 had some twists like that. Esther -> Evil hag, Guardian -> manipulator, Lazael development, Nine fingers guild. But there can more, and more layered.
I know of no way to make Laezel turn good.
She at best switches from one evil master to another.