לזכות ידי"נ הרב דניאל עלי בן שלומית וכל ב"ב לברכה והצלחה!!
Rav Reuven Margaliyos ztz"l was quite-a-tremendous-beyond-belief-baki.
He found an explicit source for the Rambam to distinguish between a goy who fulfills mitzvos out of personal conviction and Divine command to Moshe at Sinai from a collection of Medrashim called משנת רבי אליעזר:
If this is the Rambam's source then this debunks the theory presented here.