Heat pumps certainly sound good, but I've never been in a house that uses one for heating (or cooling).
While not as mathematically elegant a comparison, you could certainly run the numbers for gas or any other heating method and find a similar cost comparision. They key point is that a computer heats the way a space heater heats, and heating your home with space heaters is expensive even in spite of the 100% efficiency at turning electricity into heat.