Although they cannot technically be "tamed" in the way that ordinary cats can, ocelots can be fed raw fish in order to increase their trust in the player.
Farming chicken
Like foxes, ocelots enjoy stalking and killing chickens in Minecraft. While this may seem counter-productive, ocelots can be used tactfully to farm chickens.
Breeding
Once ocelots have gained a player's trust, they can be put into love mode with the same food that allowed them to gain that trust: raw cod and/or salmon.
When two ocelots are placed in love mode, they will breed and produce a kitten. In Minecraft: Bedrock Edition, this kitten will be born trusting the player immediately. This means it won't despawn like other ocelots that trust the player.