It’s not, the Consumer Review Fairness Act prohibits this practice.
I was curious whether or not the CRFA could be overridden by contract terms, but the FTC claims quite the contrary: https://www.ftc.gov/tips-advice/business-center/guidance/con...
The whole point of it is to override and render invalid/unenforceable terms which try to forbid posting honest reviews of companies.