Well of course solar panels can be used.
The panels are connected to batteries which in turn are turned into AC for home (etc.) use.
There are many good resources out there on the net to make solar collectors.
In the long run it will be cheaper. But the initial set up can be quite pricey at the moment.