That is exactly how the real world works, as evidenced by the enormous number of purpose built solar sites and the vanishingly small number of dual use solar fields.
No it doesn't. Fossil fuels are still roughly 80% of the world's needs and solar is something less than 5%. We are making progress in that area but I wouldn't really call that "working", imo.