Trains, especially freight trains, aren't that weight sensitive, since they tend to mostly roll along at the same speed.
Such trains could be fitted with a pantograph and operate directly off OHLE when possible. Actually, don't recall the class but I'm fairly sure the UK has a variant of one it's commuter EMU with a small built in batter. The route it travels has a few miles without wires where is impractical to add wires so it uses batterys to cover that gap.