I don't think so. The ball would actually follow this path, but in order for the observer to see the ball travel, his eyes would need to follow the train and focus on the ball travel within the train car to and from the bouncing machine.