This would not be a reason that prevents charging an electric vehicle. I have seen electric vehicles parked outside of garages plugged into the EVSE* cord that ran under the garage door to where the EVSE was presumably plugged into an outlet in the garage.
You can also have a (preferably 240V 50A – NEMA 6-50 or 14-50 is common for EVSE applications) outlet installed outside and plug an EVSE into it (but you may want to put a big lockable box with a hole for the cord around it to make it harder to steal the EVSE).
*EVSE = electric vehicle service equipment.