If you are asking about the naturally occurring magnet - Lodestone.
It is generally made up of magnetite (Fe3O4)
If you could practically connect two wires to it and apply potential. The circuit may work as the material is ferrous based barring some resistance.
Artificial magnets are mostly made from ferrous alloys, so they allow electricity to pass through.