Legal yes, but that only goes so far. For example if your landlord does not want you to grow in the unit, you can't. Just like no smoking no pets, youll be seeing no growing lol.
Similarily it will play out with insurance companies. They will say there is an added risk, and that that activity...