Article 27 of the UN convention on the high seas stipulates that all signatories treat this as a crime if their subjects or flag-bearers do it, so it's hardly a free for all.
Although, typically, the USA has refused to ratify it. Maybe you'd be fine!
Although, typically, the USA has refused to ratify it. Maybe you'd be fine!