You certainly can, there are many technologies we could use; but it costs energy, and wear and tear on precision machinery that is hard to repair and harder to replace.
Mars, by contrast, very likely has ores of a purity we mined out on Earth long ago; that mining engineers today can only dream of.
Luna and Ceres will have some too, but not the variety and mostly in deep hydrothermal systems hard to access.
Europa and Ganymede have stronger energy gradients than Earth or Mars ever did, but their geology is WEIRD. Most probably they have ores of amazing purity lying around, but they will be ones we don't see on Earth except in some evaporite sequences.