It does have legal precedent. There's some spat with a color that's copyrighted (related to vantablack iirc) and the copyright specifically says that the other person is the only person who does not have the right to use the color.
I don't know if that was tested, but I'm not aware of any laws that would prohibit you from excluding an entity or entities from your copyright.