Of course, it is also very difficult to utterly destroy a country’s economic power. Unfortunately, in Russia’s case, they have the raw materials and a population they can basically enslave. Hitting hard at refineries is a good strategy, it’s a weak point in the whole structure. Hopefully it’ll be enough.
Honestly, I don’t see an easy or clean way out of this. One possibility is that they’ll grind themselves badly enough to become completely irrelevant. Unfortunately that means a good chunk of Ukraine gets ground down along the way. One can hope for a coup, but then whatever comes after might well be worse.
Then, hopefully Ukraine can rebuild as a free nation.