There are two types of solar panels, one of them just need a day light (not direct sunshine beam) That can be done!
There are actually more than two, but they still need sunshine, and the "really good ones" cost lots of money.
I once had to "assist" with costings for a "solar fountain" Not your small back garden fountain but a "huge" fountain for a centre show piece.
I won't go into all the details but it went some thing like........
Fountain needs mains pump to get water to correct height.
To run mains pump needs an inverter.
Must have "deep cycle" batteries to cope with demand
Underwater LED lights also required.
Solar panels required to charge batteries
Fountain to run 17 hours / day (Off at midnight, start at 07:00) EVERYDAY
It never got off the ground for 2 reasons, the number of solar panels required to make sure it will work meant that the panels needed their own plot of land (there were that many) The over all cost was considerably more than the budget allowed for, solar panels are not cheap and neither were the batteries.
My point being, often solar is put forward as a suggestion, but when you start looking into it, to get a "decent" job, the costs are just too much