Mining is an incredibly long way away from electric vehicles.
A motorcycle might have 300hp per ton. Passenger car 100hp/ton. Train maybe 20hp/ton. South Dakota-class battleship is 3hp/ton.
So yeah size isn't an impediment to electrification.
But they’re a very long way from approaching 100% of mining if that’s what you mean.