Isn’t the pain point of the DMPC that they always jump the shark, because the DM gets too attached and they steal entire acts, not just scenes?

I’ve had plenty of Mary Sue NPCs that the PCs loved, because they stole a scene, had their cool character moment, then exited stage left. Plus, it’s a lot easier to keep an NPC cool and mysterious when they’re not constantly participating in the story.