The Cold War wasn't a good thing, but it didn't have to end with the dissolution of the USSR, and the dissolution of the USSR didn't have to end with a coup, followed by chaos, which nevertheless kept all the appartchiks in charge.
30 years later, we can see how the people who were in charge of the USSR are the reason if fell apart: because they are still running Russia, and are running it into the ground (Putin, Shoigu, Lavrov, etc are all USSR apparatchiks).
Thieves and criminals, the whole lot of them.
The USSR ate itself, because it didn't succeed in figuring out a way to refresh the power structures. And so that fish rotted starting from its head.
The dissolution could have happened afterwards, in an organized manner, as a process — not a cataclysm.
That way we could have ended up with the new countries not having old apparatchiks as little tsars. Maybe we'd have an independent Yakutia, Siberia, Tatarstan too
The only way to stay away from the old apparatchiks would have been management by occupational forces for several decades. And that occupational forces should have kept USSR market closed instead of pushing their own produce. Which is hardly possible.
Here in Lithuania we narrowly avoided a similar issue as well with an attempt to establish an „autonomous republic“ in early 90s.