For the UK, but figures around CO2 emissions also included.
https://www.pv-magazine.com/2024/06/24/heat-pump-plus-pv-usually-cheaper-than-gas-heating-after-11-to-14-years/
Heat pump plus PV usually cheaper than gas heating after 11 to 14 years
An analysis by Eon and Aachen University shows how quickly heat pumps with and without photovoltaic systems and storage pay for themselves in different types of homes, also in comparison to gas heating. A heat pump with photovoltaics is usually more economical than without. Balcony solar usually pays for itself in three to six years. An accompanying survey shows that most people underestimate the economic viability of climate-friendly energy technologies.