Well, there is such a thing...sort of. There are heat exchangers, in some heat pumps, that transfer this heat to domestic hot water. Though this amount of water is much less than that of a pool. As others have stated, there is simply not enough heat energy from a heat pump to make an impact in the volume of water found in a pool.
The thought was nice, though.