Technically yes, economically difficult for most nations, if it's approached at this level.
Germany has had an interesting approach to solar, where they subsidized solar panels for homeowners. I think it is the smarter approach because you incentives individuals to go green, rather than trying to implement a top down solution.
And even so, we will need to keep power plants on call for redundancy and high load purposes.
There is a video about peak power usage in England which I found fascinating (though this is a rather unique case) https://m.youtube.com/watch?v=slDAvewWfrA