Yes. Those would be diesel electrics. They use the same type system on some ferry boats. Probably not all that practical for a dump truck though.
DIESEL electric trains! And trains don’t have batteries that catch fire when wet. The Rhamster ignores natural gas which already is running trucks all over the city. What a publicity seeking putz.
Hybrids perhaps, but not total electric. Caterpillar has at least one maybe a few diesel/electric dozers out now.