To add to this there are jurisdictions that will require you to still pay a small monthly fee to support the gas pipes if you cut off gas service.
It is really nice not having a gas bill and not requiring maintenance for gas appliances, but most people won't care if they lived with it for long enough.
The only case I see it working is in a disaster area or blighted areas where the builder decided to bulldoze and rebuild the houses. The southern California fires for example; the city gave priority to permits to houses that went all electric since the gas pipes were destroyed. Permitting and inspection is so much simpler with all electric.