Yes, you are correct. It does have a sexual meaning.
It refers to various stages of 'intimacy' by comparing them to a baseball game, with HOME RUN....yes, all the way!
So as not to offend those of a sensitive nature,
look here in Wikipedia
- For Teachers