Sure it will work. Just put your hand above where the air leaves the unit when it is running -- that air is very cold. When you reverse the unit it takes heat out of the pool and dumps it to the air. A heatpump is just a reversible air conditioner. I am not sure of the economics of running it in cooling mode - it might be fairly expensive to operate.
Bookmarks