Re: Been thinking of this for a long time....
It's called UMA. When at home it routes calls over VoIP over WiFi, and when out of range of your WiFi it uses cell phone newtork. Orange market it as Unik phone, not sure how many of the other operators offer it.
The one downside is you need an UMA capable phone, and there aren't that many around.