No, not really. SpaceX has been focused on Mars for a long time. It would gain absolutely nothing by landing on the Moon towards that objective. The only advantage as compared to Mars is the timeline is considerably less, taking only a few days vs a few months. The hardest piece isn't landing on an object, it's landing it in the thin atmosphere of Mars. Bottom line is, SpaceX wants to land it on Mars because that is their goal.