Earlier quoted context omitted.
For a long time the main problem of heat pumps was that while they are more efficient, a kilowatthour of gas or oil is much cheaper than a kilowatthour of electricity. But in the last two years natural gas prizes have gone crazy, removing that price disadvantage. Of course heat pumps emitting no particulates and being able to run on renewables are also good reasons, especially as the health impact of living in cities…
It's not directly related to the recent spike in prices, especially considering that a heat pump installation is very expensive in itself and potentially disruptive. Rather, it's a combination wanting to get to net zero, so no emissions, with the big problem of generating enough green electricity. A heat pump system has no emissions and consumes much less electricity than an electric boiler/electric heater.
In the US where AC is common, summer is generally peak electricity usage. I suspect this will become true in Europe as well with the heatwaves becoming a regular occurrence.