This would violate the first law of thermodynamics ie, energy cannot be created or destroyed but can only change it's form.
Put another way more electrical power is needed to break the Hydrogen-oxygen bond in water than would be turned into useful power through burning the hydrogen so the car would never run