You only use excess energy that would otherwise go nowhere. I'm sure there are ways to make it as efficient as possible. But even if it's not highly efficient, it's a low carbon footprint method that is more sustainable than lithium batteries.
But yeah there might be other ways of storing energy. Maybe winding mechanics. Idk.