Not for much longer. While they may have the equipment but they are lacking the most important thing: manpower. They already lost a huge amount of men and they can't really conscript more since that will just make the collapse come faster. All those men, dead, or fighting are just people that can't work and pay taxes, can't start families. It's a productivity and demographic disaster. It's unsustainable and you don't need an economics degree to see it.
Though I suspect the reason Putin is keeping the war going is because he has no choice. He was offered one of the best peace deals by the US and they refused it. Why? Because Putin is scared. Once the war ends a lot of angry men with combat experience are going to return home. And those men will look at how the war was run, how some people were safe while they died in the mud. That's just a revolution waiting to happen. It has happened before, World War 1 veterans overthrew the Kaiser in Germany and installed the Weimar republic. The 1917 Russian revolution was started by WW1 veterans. Hitler was a WW1 veteran and he tapped into the anger of other veterans to help him gain power early on.
He should stick to sniffing cocaine.