Privatized censorship is legal in the US, but it is still censorship.
For example, the MPAA was formed because the movie industry felt it was better to self-censor than to have the government censor them.
If your movie contains anything the censors don’t approve, then it will not get an R rating, and will not be distributed to theaters, etc.
They even censor political speech sometimes: https://boingboing.net/2007/12/20/mpaa-censors-torture.html