It’s certainly possible, just very very expensive due to capacity factors and storage. Like ‘multiples of GDP’ expensive depending on the napkin math used.
Is the carbon footprint being taken into account regarding batteries, windmill blades, and solar panels? These are all very expensive consumables, with no good way to reuse or recycle. Specifically the windmill blades and solar panels.