Not necessarily: Money isn’t everything. Russia cannot produce electronics on its own, so only because American companies sell to shell companies that sell to Russia is Russia able to launch missiles and similar high tech weapons on Ukraine and, no, Russia has no chance in hell of winning in Ukraine with the so called (sadly but truly deeply dehumanising) “meat wave” attacks sending in soldiers with little training and just a riffle… So really oil revenues are a way to hurt Russia but not a way to cause them to lose the war, but depriving them of American technology that they need to develop the kinds of weapons that they use to attack Ukrainian cities and power stations and infrastructure probably would