> I expect that regulations would mean you could not drive cars with modified software

Aggressive regulations for emissions control software + industry deterrence for car modifications via insurance and warranties

Good then that there is very little need for emissions control in EV. No barrier for giving the owner of the vehicle more access to its innards.