Actually, no. Their activities were not illegal in all 50 states prior to Lawerence v. Texas and the Lawerence decision was based on Equal Protection.
Equal Protection was considered due to the fact that in the State of Texas a Man and a Woman could legally participate in Sodomy while two men could not.
Now, if the State of Texas would have had a prohibition on heterosexual sodomy, Lawerence would not have won the case.
Now perhaps all states could ban sodomy both homosexual and heterosexual and the Federal Govenment could install video cameras in everyone's bedroom to make sure we are all compliant.
However, I think that would violate the 4th Amendment.
I never said just prior to Lawrence vs Texas. Homosexual activtiy was illegal in all fifty states. Usually prior to 1960. The legislatures didn't change the law the judges did. The supreme court is not the only bench upon which we find liberal terrorists