That won't work, it's not just Putin doing this alone you know. You'd need a powerful (the most powerful, actually) faction inside the Russian state apparatus that want to just give up, and there's no real reason to think there is such a group. And no anti-war opposition has enough support to do a coup or win elections.
No defeatist is getting into power. It's not going to happen unless Lenin rises from the dead.