But we're not there yet, not even close really. Maybe close in time until it's possible, but not close in capability now.
Sure it's possible, it just requires a larger percentage of vehicle weight to be made of batteries. But it's pointless to lug these extra batteries around day-to-day. So, put them into a battery trailer. You could make these rentable and swap them along the way, or perhaps use the batteries on the trailer first, leave it to charge as you continue with just the car, and pick it up on your way back.
You could also extend the idea to freight carriers, since trailers spend considerable time sitting at the depot waiting for a pickup. Why not use that time to fill onboard batteries? True, you lose some weight capacity, but you save on fuel, many cargoes are limited by size rather than weight, and logistics warehouses tend to be large, flat-rooted structures - ideal for solar panels, which become cost-effective when combined with large storage capacity.