I have thought of this many times for our garden pond, and I don't see why not. The problem is sourcing the plastic or glass, which is going to be expensive. If you can position it facing north out of the direct sunshine, it will be easier to maintain.

The hard part is sealing it against expansion and contraction.