Well, we do have the technology. We could have pallets with big fat QR codes slapped on the side (and by "big fat" I mean three inches or so) and robotic pallet jacks unloading the trucks, or trailers with floors that would shove pallets out the back of the truck automatically, and trucks loaded in proper order for that to make sense. For stuff that's delivered by the truckload, a whole trailer or shipping container could be unloaded and just dropped off to be dealt with by someone other than the trucker entirely.
Lots of loads can't be palletised. There would also have to be massive investment by the delivery locations as well.