Isn't "data centers are using all the electricity" the same as "we're not pricing electricity correctly"? Instead of a ban just make sure they pay what's needed to keep capacity where it needs to be.
On this note, I'm actually confused about why datacenters raise electric costs. Why doesn't the data center bear an extra cost for the added infrastructure? If I build a house on undeveloped land and the electric company needs to run lines, do I also (in a much smaller way than a data center) increase the costs for all other customers? Is everything always just spread evenly?
The cities are paying exorbitant prices for electricity to pay for safer infrastructure for rural customers (undergrounding).
Some cities have divested from PG&E and enjoy much lower electricity prices as a result.