Everything is possible. But not everything is practical.
Energy density matters. Especially in industrial applications.
For example, electric passenger vehicles are a great solution because the weight of passengers is negligible.
Electric semis hauling freight? Not so much. The payload has to be reduced by a significant amount because the battery is so damn big.
I don't know what the extraction process involves, but I've been to a few mines. Truck, the size of a house moving massive loads. And lots of big stationary machines, which I assume are already electric powdered.