IMO Pornhub or a gambling company is much more ethical than Boeing or Lockheed. Just list it but as a regualted online betting platform, focus on the tech not the gambling.
But there are also big problems in social media companies. Would they harm your CV? The dark patterns in these might be even bigger problem than in gambling. The audience is much larger.