Yes, many people power their remote homes completely with solar energy in a stand alone solar electrical system. This will depend on the amount of solar PV panels that can be installed on the roof and the energy needs for the household.

In the suburbs, people often choose a utility grid connected solar electrical system in which they can actually credit excess generated energy to the utility during the day and buy back at night. Whatever energy needs you may have, day or night, they can easily come from the grid.