There is historical literature from contemporary Greek sources that at least in some of the Greek city states like Thebes and Sparta, soldiers would be paired up with their lovers, suggesting homoerotic attraction if not a homosexual relationship. Alexander was from Macedonia, so I am not sure if the practice was prevalent in his army, but the speculation is not completely without basis
No,especially in Sparta the laws against homosexuality were extremely strict. And the Sacred Band of Thebes was nothing like what some modern "historians" describe as "gay couples fighting together". It's beyond ridiculous.
CHAP. XII.
Of Friendship amongst the Lacedemonians.7
Friendship among the Spartans was truly innocent : if any thing unlawful happened, both persons must either forsake their Country or their lives.
(Claudius Aelianus)
Maximus of Tyre stresses:
"One Spartan admires a teenager Lakon(someone from Lakonia),but he admires him only as a beautiful statue and the one(admires)the many and the many(admire)the one.Because the bodily pleasure that comes from hybris is not allowed between them."
Also about the Atheneans:
Homosexuality in Ancient Greece always remains a hot topic, still searching for a convincing answer.
www.greecehighdefinition.com
Victims of the above misunderstanding were the ancient Athenians, who were often reproached for their sexual preferences, giving the impression that Athens was a city where homosexuality flourished undisturbed.
The truth is far from the above position according to Xenophon.
The ancient Athenians not only did not encourage homosexuality but had taken a number of measures to protect the young Athenians, as the orator Aeschines informs us.
In the speech "Against Timarchus", the famous orator mentions in detail all the measures that the ancient "legislator" had taken to protect the virtue of the young Athenian men.
Laws for young boys
First, he mentions the rule that schools must not open before sunrise or remain open after sunset since darkness is an ally of those who are interested in young boys (According to Timarchus 9-10). There are also restrictions on visiting the gymnasiums where the young Athenians exercised naked.
In the event that a boy's parent sold him for money, any Athenian citizen could publicly denounce him. The punishment for such an offense was the release of the child from the obligation to care for his parent in old age, who had sold him in for money (according to Timarchus 13).
The law, however, was much harsher than those who promoted it. They were punished by death if they betrayed the sexuality of children of free citizens (According to Timarchus 14, 184).
Laws against homosexual activities
The Athenians, showing their sensitivity to this serious issue, had provided a series of punishments for almost all offenses related to homosexual relations:
If a slave molested a free boy, he was punished by a public flogging of fifty strikes(according to Timarchus 139).
In cases of rape, the victim could report the offender and receive a fine, which the offender would pay to both the victim and the state.
In cases of fornication, any Athenian citizen could file a public complaint against the offender, and the court, judging on a case-by-case basis, would impose the appropriate punishment (According to Timarchou 15).
Legal sanctions for homosexuals
Citing legal provisions attributed to Solon, the famous ancient legislator, Aeschines blatantly refutes the myth of homosexuality in ancient Athens.
The penalties provided by Athenian legislation for those who engage in homosexual relations are as follows:
He is not allowed to become a member of the 9 lords.
He is not allowed to be elected a priest.
He is not allowed to be an ombudsman.
He is not allowed to exercise power inside or outside Athens.
He is not allowed to be sent out as a war preacher.
He is not allowed to express an opinion.
He is not allowed to enter (public) Temples.
He is not permitted to be awarded at coronations.
He is not permitted to enter the sanctuary of the market.
So anyone convicted of being a homosexual but acting contrary to the provisions of the law is punishable by death!