Well, yes. But of course it wasn’t oil that shaped traditional domestic architecture in the Near East; it was the climate. Which makes that model even more relevant as the climate in many parts of the U.S. becomes hotter and drier, I should think. From a page on Islamic architecture:

The most striking feature of all Islamic architecture is the focus on interior space as opposed to the outside or facade. The most typical expression of this focus on inner space is in the Muslim house. Rectangular dwelling units typically are organized around an inner courtyard. The facade of this house offers high windowless walls interrupted only by a single low door.
[…]
Yet the traditional courtyard house is an advanced structure. The open-air interior courtyard performs an important function as a modifier of climate in hot, arid areas. The courtyard allows for outdoor activities with protection from wind and sun. The courtyard also serves as an air-well into which the cool, night air can sink. And the plain, thick-walled street facade of the house with few or no windows is designed to withstand severe elements like hot winds and sand.