They used to do that in Phoenix. There were trees all along the canals. They replaced that setup with a solid uncovered concrete canal system. The issue with trees is that the roots will cause leaks in your canal.
Also take care to have trees close to a swimming pool, just like us, they won't say no to a free source of liquid, and many species have quite powerful roots.
Redoing swimming pools due to close by trees seems to be quite common construction work job.