Doubt it. Genjutsu Sharingan time is limited and usually when someone is caught under a Sharingan genjutsu, he notices it whether it's at the exact moment the genjutsu is cast or later, but we all know that Hashirama lived long after Madara's death. He could not have been fooled forever. Also to use the moon to project genjutsu, Madara needs to summon it first like he said to Obito