Enthusiasm for all-electric homes is building, though a rapid shift away from gas risks lumping those who remain with an expensive network to cover.