Legality of using a driver load to activate a release mechanism

Would it be legal to place a ball on your robot in such a way that it activates a passive release mechanism. Since it is legal to place driver loads anywhere on a robot I would assume that this would be legal, but I want to verify this concept before developing this mechanism.