Vocational trucks, (think garbage trucks & dump trucks), are the ones that I'd love to electrify. Those can wake you up even if you're indoors.
The potential issue I see is batteries not being sufficient for heavier duty trucks / loads -- the range could be impractical. Also, I have no idea what the power draw for a garbage truck compactor is, but it can't be small.
On the other hand, it looks like some are about to be used in New Jersey: https://www.government-fleet.com/10122076/jersey-city-to-rec...
I guess when it comes down to it a fuel tank only holds so much energy, and if we think we can replace a fuel tank with batteries on another kind of truck with an acceptable loss in range, then maybe we can do the same on a garbage truck. They were burning diesel to run the compactor before, so it may not be much difference.