Debatable. The war itself is basically a massively failure, but it completely stabilized the regime. Whereas 5 years ago there were clear questions about what would happen after Putin died, ZOV-logic is enough to power the regime for the next 10 years.
20 years of careful building of liberal oppositions by highlighting corruption is now out of the window. FBK, Kats, Volkov, etc are now all abroad with no chance to return; literally no one gives a fuck about corruption that's not military related. The new "liberal" party that replaced Navalniy & Co (Noviye Lyudi) is basically only liberal in economics.
The only thing that will decide if Russia ends up winning or losing in the long term is whether the "Pivot to Asia" strategy that they basically were forced to take will end up working.