Wrong.
In Makkah the moon god was called Hubul. Hubul was the son of Al-Uzza - whom was one of the daughters of Alllaah. Thus in pagan ideology Hubul would be the grandson of Alllaah [ma'aadhallah] and not Alllah him self.
More to add to this Hubul was not the supreme Idol at Makkah among the Idols. It was Al-Uzza, Manat, and Allat whom where designated al-aalihat ~ the plural femine of al-ilah.
Muhammad (s.a.w.) preached against the worship of the moon or the sun god in Makkah.
Among His Signs are the Night and the Day, and the Sun and the Moon. Adore not the sun and the moon, but adore Allah, Who created them, if it is Him ye wish to serve. 41:37
Allah could not be seen
No vision can grasp Him(Allah). But His grasp is over all vision: He is above all comprehension, yet is acquainted with all things. (Koran 6:103)
He(Allah) is the First and the Last, the Evident and the Hidden: and He has full knowledge of all things. 57:3
Hubal the moon-god and Allah were not the same God
Sahih Al-Bukhari Volumn 005, Book 059, Hadith Number 375.
-----------------------------------------
Narated By Al-Bara : We faced the pagans on that day (of the battle of Uhud) and the Prophet placed a batch of archers (at a special place) and appointed 'Abdullah (bin Jubair) as their commander and said, "Do not leave this place; and if you should see us conquering the enemy, do not leave this place, and if you should see them conquering us, do not (come to) help us," So, when we faced the enemy, they took to their heel till I saw their women running towards the mountain, lifting up their clothes from their legs, revealing their leg-bangles. The Muslims started saying, "The booty, the booty!" 'Abdullah bin Jubair said, "The Prophet had taken a firm promise from me not to leave this place." But his companions refused (to stay). So when they refused (to stay there), (Allah) confused them so that they could not know where to go, and they suffered seventy casualties. Abu Sufyan ascended a high place and said, "Is Muhammad present amongst the people?" The Prophet said, "Do not answer him." Abu Sufyan said, "Is the son of Abu Quhafa present among the people?" The Prophet said, "Do not answer him." Abd Sufyan said, "Is the son of Al-Khattab amongst the people?" He then added, "All these people have been killed, for, were they alive, they would have replied." On that, 'Umar could not help saying, "You are a liar, O enemy of Allah! Allah has kept what will make you unhappy." Abu Safyan said, "Superior may be Hubal!" On that the Prophet said (to his companions), "Reply to him." They asked, "What may we say?" He said, "Say: Allah is More Elevated and More Majestic!" Abu Sufyan said, "We have (the idol) Al-'Uzza, whereas you have no 'Uzza!" The Prophet said (to his companions), "Reply to him." They said, "What may we say?" The Prophet said, "Say: Allah is our Helper and you have no helper." Abu Sufyan said, "(This) day compensates for our loss at Badr and (in) the battle (the victory) is always undecided and shared in turns by the belligerents. You will see some of your dead men mutilated, but neither did I urge this action, nor am I sorry for it." Narrated Jabir: Some people took wine in the morning of the day of Uhud and were then killed as martyrs.
The following is Quranic support to the above hadeeth that Hubul and Alllaah where not the same deity.
The Pagans could not see Allah
[17] They(the pagans) say: "We shall not believe in thee(Muhammad), until thou cause a spring to gush forth for us from the earth,
[17] "Or (until) thou have a garden of date trees and vines, and cause rivers to gush forth in their midst, carrying abundant water,
[17] "Or thou cause the sky to fall in pieces, as thou sayest (will happen), against us, or thou bring Allah and the angels before (us) face to face;
[2] Will they(the pagans) wait until Allah comes to them in canopies of clouds, with angels (in His train) and the question is (thus) settled? But to Allah do all questions go back (for decision).
Allah not recognized as one of the Idols by the pagans
[29] "For you (pagans) do worship idols besides Allah, and ye invent falsehood. The things that ye worship besides Allah have no power to give you sustenance: then seek ye sustenance from Allah, serve Him, and be grateful to Him: to Him will be your return.
Muhammad declaired to the pagans they do not worship what him and his followers worshiped (Allah)
Say(Muhammad to the pagans): O ye that reject Faith! I(Muhammad) worship not that which ye worship, Nor will ye worship that which I worship, And I will not worship that which ye have been wont to worship, Nor will ye worship that which I worship, To you be your Way, and to me mine. (Koran 109:1-6)