In theory but in practice the tech isn't that accurate as there's absolutely no allowance for that. If you do that maths with the speed the ball travels and the camera frame rate the margin of error is surprising large.
Then there's also the issue of the camera angle, unless the camera is...