Although some scholars argue the word "Eqwesh" in the hieroglyphs is the Egyptian word for "Achaean", according to the Egyptian sources these people were circumcised. It seems highly unlikely they would have been Greek and it puts their origins somewhere in the Near East. The tenuous etymological connection is a flimsy argument to connect the Egyptian account with Homeric myths.
Whether Homer's Odyssey is historically accurate, and what period of history it describes, is debatable.
If the attackers really were Greeks coming home from Troy, this does not explain why they destroyed the Mycenaean palaces in Greece. According to Homer the men who attacked Troy were lords of Greece who would not have destroyed their own homes.
The Greeks were unlikely to have attacked their own cities. The connection between the Greek sources and the Egyptian accounts are partially based on tenuous etymological connections.