It's possible.
For example, if you bring your own micro-generator and rely on outdoor wind or solar power to generate electricity, and the electricity generated is supplied to a refrigeration plate special, the side of the refrigeration plate that can cool and cooling will continue to produce condensation water. The quantity of water produced can be adjusted by changing the cooling capacity of the cold room.
The most critical thing here is to obtain electricity, and then use the existing mature refrigeration technology to create a temperature difference, so that the air in a certain area reaches the dew point temperature to obtain water.