The phrase 'The world is your oyster' is a metaphor suggesting that one has the ability and freedom to do anything or go anywhere. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
The world is your oyster .