Yes, easily. Indeed just using ordinary solar panels, if you had enough of them, you could power the entire world from a small patch of the Sahara desert (well, “small” compared to the surface area of the Earth, it’s still a huge solar panel array)
Squares show the area of the Sahara desert that would need to be covered with solar thermal power plants to power the World, the EU and Germany, with 2005 technology Desertec
As prices of solar panels go down, if we can have solar panels everywhere - on roofs, on car parks, roads (embedded in the surface or suspended overhead), pavements, cars, etc - and if you can sort out the transmission of the power as well - that would be the end of the energy crisis and of global warming right there, at least with present day levels of demand on power.
There are many possibilities for night time storage. For instance if you use reflectors to concentrate heat in the desert, a natural form of storage is to use well insulated liquid salt which stores the heat from solar collectors for up to a week. Thermal energy storage
You can also use flywheels to store the energy overnight: New energy storage plant could 'revolutionise' renewable sector
This is another interesting idea Gravity Power Energy Storage
And there is the idea of using the batteries of electric cars. If everyone had electric cars then since most cars are parked idle most of the time, then you could use them for load balancing, - the parked cars charge up preferentially (more quickly) at times when there is an excess, e.g. in daytime if most of the electricity is solar, or when winds are high for wind energy - and return electricity to the grid if there is a sudden demand to be met, Vehicle-to-grid
The main problem was the cost of the solar panels and because they needed use of rare elements - and that sunshine is not so available in higher latitudes. But costs are going down, and ways of making the solar panels devised that require materials that are reasonably plentiful.
If the costs of solar panels gets really low to the point where it makes sense for anyone to buy them and they pay themselves back quickly - then that would be the end of the global warming crisis. Also pretty much the end of the fossil fuel industry at least for supplying fuel for cars. So a major change there. We'd then use fossil fuel for other things like plastics and medicine etc. And probably also use electricity to create fuel from sunlight (perhaps hydrogen as a fuel).
I'm sure this will happen eventually. But will it take several decades, or a century or just a few years? So - when they talk about global warming - I see the main issue as - how much CO2 will we put into the atmosphere before we are able to make this transition to almost entirely green power? And what will the status of the world be when we make that transition?
So for instance things like carbon capture at source (so that you capture the CO2 at the powerstation itself), anything that can delay the onset of global warming gives us that bit extra margin to find a solution.