I mean, have you seen how they dressed?
Pirates were also largely LGBT/PoC - the maligned of society. The practice of a captain marrying people at sea supposedly started with pirates marrying gay couples because they couldn't get married onshore.
Pirates are like the definition of Be Gay, Do Crime.