Well, people did even crazier stuff to get oil, like, drilling into the arctic circle, floating an oil platform in deep water and then drill miles under the sea floor, going horizontal in drilling and then pushes water into the oil well to fracture the rock formation, heating up tar mixed in with sand to get 1/4 of the weight out as super thick oil, liquified and refrigerate gas to preventing it from exploding into a giant fireball, fighting wars and killing thousands to make sure the oil can go from point A to point B.
Mining some cobalt and lithium, are not really that much more challenging than extracting oil.