This is a legal move since direct player action will release the ball.
With that said, due to the potential damage to the mechs that it can cause, we recommend TD’s explicitly list on the backglass that it’s an illegal move for their specific event (at their own discretion).