No, if this is your personal residence or main home, installing electricity for a ceiling fan, is not an eligible home improvement for the energy credit.
See the TurboTax FAQ: Can I claim energy-efficient appliances or energy-saving home improvements?
However, if this is a rental or business, you may be able to deduct the cost.
See What kinds of rental property expenses can I deduct? and Where do I enter my self-employment business expenses, like home office, vehicle mileage, and supplies?