It's not exactly the same thing, but in the Tellius games, certain units may betray your army and join the enemy after talk conversations. Mostly in Radiant Dawn, but there's a very notable one in Path of Radiance lol