One of the later more modern uses of a heat pump is a heat pump water heater where it takes the Heat out of the air and pumps it into the water.
I installed one and it dropped my power *bill by almost $30 a month even though I went from a 55-gallon hot water heater to an 80-gallon water heater.
I think the issue is finding a use for that heat energy that makes sense. Generating electricity with it doesn’t make a lot of sense, but heating water so that you spend less energy heating water does.
It has the option to go to traditional electric heating if meed be, And if I really wanted to, I could rig up a system where it would vent the colder air outside, and it apparently can work down to nearly 30 degrees farenheight so I could just use outside air exclusively for it if I really wanted to 9-10 months out of the year.