So, a gas heating system can be installed in the basement for 5k ready to go. A heat pump costs between 15 to 20k, depending heavily on the model. So, roughly a 10k difference. Heat pumps are also more prone to issues than gas heating systems. And the chimney for a gas heating system nowadays is still a 50 mm pipe plus a 100 mm pipe for fresh air or directly a finished chimney system for 1500 euros. So, I currently see gas heating systems as more cost-effective, especially since they last about 30 years, which you can't say about heat pump compressors. Also, at very low temperatures, electricity consumption is enormously high, so energy costs currently favor gas over heat pumps on an annual consumption basis. Then there is the high initial purchase price, shorter lifespan, and more frequent maintenance for heat pumps.
For gas, the chimney sweep and fireplace inspection cost 60 euros per year and 100 euros every 3 years. Then there is the annual boiler cleaning at 120 euros.
And no, I am not a gas fanboy and do not own a gas heating system.