You can, but you really don't need those things. AI will be able to track it all from the cameras already in place for the broadcast, and likely a lot more accurately than any official on the field.
I used to be against AI making on the field calls, of any kind. But between the number of bad calls made and the fact that it is impossible to get rid of bad officials in any of the major sports, I've changed my thinking on it. We're nearly there on the technological end of it.
From the "camera angles" we see during games and especially replay, it feels like they need more cameras if only just for replays.
But too much AI will make the game less interesting to me (along with trying to control the length of games). MLB getting it into their CBA with umps to have more control over shitty umps could help a little.