Sure, build carports where they make sense, and put solar panels on roofs where those are economically worthwhile. There are not especially large synergies between solar power and carports compared to other permanent structures, it's just an example of something that is still superior to solar panels on cars.