I think at this stage of the war there are no victory conditions for Russia even if it takes over all of Ukraine.
From a Western perspective, Western military weaknesses have been exposed, its weapons are being tested effectively for free and the mystique of the 20th century Red army has been shattered.
Politically and economically it will take them decades to recover from this debacle.
The primary "win" for Ukraine would be to recapture the territory they have lost since 2022 and victory for them would be the return of the Donbas and decisive victory would be Crimea.
Personally, I think if Russia offered a return to the 2022 borders, they keep Crimea and some sort of special status for the areas of the Donbas that were occupied before 2022, Ukraine probably would accept it with Western security assurances.
1 It is not at this stage of the war that there are no total victory possibilities for Russia ,but already since 23 February 2022,as the Russians knew that that a military defeat of Ukraine , which was very unlikely, would not result in a political victory for Russia that such a defeat would not result in the conquest of Ukraine and that the conquest of Ukraine would/could not result in the occupation of Ukraine . The best they could obtain was to transform Ukraine in an other Belarus .
That the war is costing Russia a lot of money,is a fact ,but there are no proofs that Russia will need decades to recover from it . Compared to WW2,the economic costs for Russia are almost meaningless and the USSR recovered very soon from WW2 .
2 For Ukraine the situation is that a collaps of Russia will not result in Ukraina Restituta but only in the increased danger of the Russians using nuclear weapons ,
Economically ,it will take Ukraine much longer to recover from the war as the hope that someone else (West or Russia ) will pay the costs ,is only an illusion .
Would Ukraine accept a Russian peace proposal to return to the 2022 border but Ukraine losing Crimea /Donbass ? Not at the moment as the Ukrainian population would not accept it ,the Ukrainians would demand revenge for the destruction and the deaths ,the French would refuse a compromise peace in 1916, the Germans also .
Such a peace is not possible for the moment .
3 The West :
that its military weakness has been exposed does not mean that the population will accept to give more of their money for defense .
that its weapons have been tested ,not for free but at the cost of the tax payer,does not prove their efficiency, as you need men to use these weapons,and these men are lacking .
that the mystique of the Red Army has been shattered,better the illusion ,the claims from the arms sellers , can have as result that people will say that there is no need for a new rearmament ne can not say at the same time : the Russians are no good,they can't win against Ukraine ,and : the Russians are a threat for our security ,thus :again conscription and more money for defense .
My prediction (which has 50% + chances to be wrong ) is that the war will continue till,NOT one, but both parties will be exhausted and accept a compromise peace .Only one of both will not suffice as the other will then increase his demands .
The Russians have that (illusionary ? ) benefit that the willingness of people in Europe and the US to continue to give money to Ukraine ,will not last and they hope that this will result in a greater Ukrainian willingness to accept the Russian demands .