Yeah, in combined cycle plants you burn the natural gas first in a gas turbine first, use the waste heat from that to boil water and run steam turbine. Then condense the steam using your district heating circuit.
You can say this is 100% efficient as you make some electricity and the rest does house heating.
Definitely not 100% efficient, but it can still hit a much higher efficiency than without the heat recovery