1. My hobby is soccer.

2. My hobby is baseball.
(Are both grammatical?)

1 answer

It would be more accurate to say, "My hobby is playing soccer." (or "... playing baseball.")

Your sentences are fine for casual speech.