I dont think it matters whos in charge of Russia. Theyve already invaded and killed tens of thousands of people. Threatning nukes every day. Russian army is at its weakest point right now which is why Prigozhin is doing this right now.
This is good because it further destabilizes Russia which would warrant anyone that ends up in charge to get the the hell out of Ukraine. This is the best offramp they could get.