I ask this question all the time.
I am living in Southeast Asia & the temperature there is always 30-32 C in almost every day of the year. So, houses in Southeast Asia normally are pretty hot. However, people there tried many way to make their home cooler.
For example, if you come to Southeast Asian countries, you often see "Roof Turbine Vents" (https://www.askthebuilder.com/roof-turbine-vents/) installed on top of the roof. The wind will make the turbine spin, and when it is spinning it will withdraw the hot air out of the roof. It is not a complete solution but the house is less hot if it uses Roof Turbine Vents than if it does not.
In addition, they also install the solar panel on top of the roof to get the hot water, and generally the Solar Hot Water system is quite effective as it can give the hot water all the time without spending any cent for electricity bill.
Now, come back to the cooling system. Even my house got a Roof Turbine Vents installed on top, we still have to use electricity air conditioner to cool the rooms, which cost a lot of energy bill. Also, for electricity air conditioner, we can only afford to cool a few rooms like the bed room. If I walk out the bed room then it is very hot.
So my question is:
Can we build a very effective cooling system for house or apartment using solar or wind power?
For example, we can install a cooling system on top of the roof. The cooling system can use the solar power from the sun, and then somehow use that energy to cool entirely the roof.
Or, for example, when building a house, instead of making the brick walls like the traditional house, we can use the wall that made of a lot of tiny hot-to-cold material. When the hot sun light triggers the wall, the tiny hot-to-cold material on the wall will convert hot energy to cold energy or something like that to cool off entirely the house.
I believe the technical issue is not too difficult, but it is just too expensive to build.