Here's an example:
* Original: He escaped by means of a secret tunnel.
* Using homophone: He escaped by way of a secret tunnel.
While "by way of" isn't exactly a homophone, it's the closest you'll get to a similar-sounding phrase with a similar meaning.