Exactly. It is in general (much) more efficient to burn natural gas in a power plant and use the electricity for heatpumps compared to simply burning gas at home for heating.
You can say this is 100% efficient as you make some electricity and the rest does house heating.