No. A specific tech should not be mandated. But, strongly incentivizing moving away from gas furnaces is a good idea.
The problem with mandating a specific technology is in the near future there may be something better, then the corporations that got fat over having their tech blessed spend their money to keep the law from changing.