They haven't tried that with all means available to them, and the means aren't nukes. As the recent events show, Russia could put Ukraine into a total energy blackout [1][2] if they decided to pursuit this strategy of waging the war. This would be the same strategy that was used by the US military in past conflicts [3], and it implies significantly more civilian casualties in a long run.