Landlords and employers are already very restricted in what can be in their terms, so there is certainly precedent for it.
This is why it is interesting - it’s a question about regulation. State and law “interfering” with private company interests.
I like regulations on big companies in general, but this one would end up with weird effects, I reckon.