It would make more sense to use cogeneration, to use the incidental heat from a thermal power plant, for district heating.
That’s already being done. This is the first time I’m hearing about this heat pump despite the fact that I live in Finland but I’m guessing it likely has something to do with the fact that we have a ton of wind turbines and more is being added each year, so at times there’s a plenty of excess energy being produced so I guess it makes more sense to use it for something rather than to sell it abroad. This is why they’re planning hydrogen producion plants and “green” steel mills here as well. Running those only makes sense when electricity is cheap.