Well, with enough money and time just about anything is possible.
They make pool heaters, so if it's enclosed I would say it's possible.
Now the practical side. Expensive proposition to erect and keep running.
If you live in a colder climate area, the difference in temp. during winter will virtually make it rain inside the enclosure, so the choice of material will need special consideration.
Just some thoughts.