How much of that was true (which I don’t doubt to a certain extent) is up for debate, but you can’t exactly blame/credit the Village People with turning sailor suits into a Gay fetish of sorts - due to that popular stereotype.
Long before the Village People became popular, it was pretty much a common stereotype that Gay men were more likely to sign up for the Navy than any other branch of the military.