Answer:
No
Step-by-step explanation:
A compass works by detecting and responding to the Earth's natural magnetic fields. The Earth has an iron core that is part liquid and part solid crystal, due to gravitational pressure. It is believed that movement in the liquid outer core is what produces the Earth's magnetic field. And the moon doesn't have such a magnetic field.