Someone a few years ago did it by replacing the air-cooled unit outside with a water-cooled one, and used his pool water for that.

A friend is looking into a heat capture and exchange system to use the A/Cs hot air to heat the water.

Just some added info.