Otherwise the phrase “government censorship” would be redundant. And that’s why the Hollywood Production Codes were a kind of censorship: https://en.wikipedia.org/wiki/Motion_Picture_Production_Code
And the idea that criticizing censorship when private organizations do it is “whining” is quite odd. Not everything bad is illegal. Lots of people criticized the Hollywood Production Codes as bad censorship, even though it was voluntary. Except back then it was liberals complaining that the Hollywood companies that controlled distribution were using their power to entrench conservative ideas and suppress liberal ones: https://www.wsws.org/en/articles/2018/05/17/cens-m17.html