I can see this happening at the Subdivision level. A small power plant built into a subdivision with the sidewalks and possibly driveways configured to accommodate the panels.
Home owners would pay for their electricity as part of their HOA dues.
I can’t see living anywhere there is a HOA.