The UK electricity price is currently fixed at 34p/kwh for electricity and 10.3p for gas.
A new gas boiler has a COP(efficiency) of 1.054 (it can manage efficiency higher than 100% because gas is metered by the 'lower heating value', which assumes the exhaust gas escapes as steam, but the boilers actually condense most of that steam to water, getting additional energy out).
So. Total price is: Gas: 10.3/1.054 = 9.77p/kwh in your home.
Total ASHP price is: 34p/3.06 = 11.1p/kwh in your home.
And this analysis ignores the fact that ASHP's typically have much worse efficiency making hot shower water (which a gas boiler doesn't), and obviously also have considerably higher upfront costs too.
Also, you can theoretically power a ASHP with renewable energy, while there are few if any carbon neutral replacements for natural gas.
There are a bunch of potential ways to make green hydrogen too.
So, there very much is a path to green with a gas boiler.
the cited paper gives the efficiency of heat pump but we’re missing multiple crucial values to get from there to a comparison of heating costs