Oh no, you definitively can't. Not when you're the one invading.
People always bring up WW2, but in WW2 USSR was being invaded, and had a lot of material support from the west. They could keep "throwing more bodies on it" because
1. Those bodies were still very motivated, since they were being invaded and,
2. They had useful equipment for those bodies, in significant part from western support (lend/lease etc.
Ukraine is more like WW1 for Russia. That didn't end so well for the Russian leadership.
Just to expand on that a bit, the USSR received ~$11 billion in lend-lease assistance from the US, which is roughly $130 billion in current dollars.
The scale was incredible - hundreds of thousands trucks and jeeps, thousands of tanks, thousands of airplanes, as well as small arms, ammo, explosives, etc. Food, too, and lots of oil. A huge part of the Red Army's success was having the US backing them up.
People also forget that the of the red army fighting Hitler about 4.5 million of the troops were Ukrainians fighting on the Russian side. They were supposed to be some of the best troops.
Though a lot of countries manage to cope with the neighbouring countries being independent and not invading them or installing a puppet ruler. Perhaps Russia will be able to get used to it too.
I think that's about as successful in war as it is in software projects, except many of those bodies will end up dead. If there's one thing that the Russian invasion shows, it's the massive difference that morale makes. But also planning, coordination, logistics. You need to have soldiers who know what they're doing.
Not always, Russia lost war in 1920 with Poland. Russia was trying to give military support to communist movements in Europe going across Poland. While Poland was trying to restore lands occupied by Russia in partitions of Polish–Lithuanian Commonwealth in 1772-1795 that lead to Poland not existing for 123 years.
Russia lost that war and had to settle borders with Poland in the Treaty of Riga.
People always bring up WW2, but in WW2 USSR was being invaded, and had a lot of material support from the west. They could keep "throwing more bodies on it" because
1. Those bodies were still very motivated, since they were being invaded and,
2. They had useful equipment for those bodies, in significant part from western support (lend/lease etc.
Ukraine is more like WW1 for Russia. That didn't end so well for the Russian leadership.