Ball Shooter

Hello, our team was thinking about using some kind of shooting device that would shoot a small ball, like a tennis ball and it would be tied to the robot by a nylon cord so that it could not go flying off our robot and so we can bring it back to our robot.

Do you know if we can use something like this ?