Yes. According to the IRS instructions
for Form 5695:
Qualified solar electric property costs are costs for property that uses solar energy to generate electricity for use in your home located in the United States.
No distinction is made between primary system and backup system. You may be able to take a credit of 30% of your costs of qualified solar electric property, solar water heating property, small wind energy property, geothermal heat pump property, and fuel cell property.
To enter the information for the credit in TurboTax, please follow these steps:
For additional information see the IRS instructions for Form 5695.