No, The Legend of Zelda: Twilight Princess does not give you an ocarina. Instead, Link relies on other tools to interact with the world, such as grass he can play and a flute he receives from Ilia later in the adventure.
This was a deliberate change from earlier games, giving Twilight Princess its own distinct feel. The flute serves a similar musical role within the story.