How could banning something make it easier to do something? You already had the option not to do it, now you no longer have the option. It can only be neutral or worse.
* It could improve the economy of scale for electric, with more supply chains and installers getting used to it, reducing price.
* It removes the paradox of choice, so there's more time for building and less time wasted making a decision.
Gas being prohibited makes it no longer a feature developers feel is needed to be competitive with other new buildings competing in the same local market, making it no longer a practical requirement.