That's an incorrect analogy.
An opportunity cost arises from making choices, for example draft player A or draft player B.
A batter striking out is a contest of skills and to some degree chance. The batter doesn't 'choose' to strike out.
Let's give two real world examples of opportunity cost:
Example 1. In round 2 of the 2001 NFL Draft, BB chose to select at #48 Matt Light, a franchise tackle for the Patriots for the next decade. He could have chosen instead to take RB Lamont Jordan who went later at pick #49. Lamont Jordan was a mediocre RB who had an unspectacular career. Taking Lamont Jordan instead would have been the opportunity cost to miss out on Matt Light. So BB could have been said to make the most of that opportunity with his pick. A franchise left tackle is more valuable than even a good running back.
Example 2. In round 1 of the 2018 NFL Draft, BB chose to select at #23 Isaiah Wynn, a mediocre left tackle who has never produced better than an average NFL starting tackle in his career. The opportunity cost is Lamar Jackson who went at #32 overall. BB acquired a mediocre left tackle and missed out on a franchise QB. Jackson would go on to win the MVP award in 2019 and has been selected to two pro bowls.
So this pick was a massive miss. The miss is exacerbated by the fact that the Patriots had an aging QB and a general manager who would refuse to extend his QB long term. Drafting Jackson as part of a calculated succession plan was surely the best value for the pick. This opportunity miss is especially egregious since BB traded away Jimmy Garoppolo in just the year prior leaving a gaping vacancy in the QB succession plan.