It’s not practical for all crews at present due to costs, but as EVs become more entrenched, the problem will solve itself. You keep an extra set or two of batteries that the truck charges and you swap as needed, not that different from having to stop to refill on gas.
Energy density of batteries is improving too, so the amount of time between swaps will be increasing.
Yes, we're definitely moving in that direction.