a pipe is called a bat.
the marijuana is called baseball.
The name could have come about because it's America's Favorite Pastime, or because when smoking with a bunch of friends, when your turn comes, it's called your hit, same as it would be in the sport of baseball.
"I'm so base." -high person
"I hit a HOME RUN!" -really high person