Onion addresses can be hashed to discover vanity addresses
i.e.
bitcoin6hfhjhgghhgg5677jhh7556.onion
Depending how much work (hash power)you are prepared to put in defines how many vanity characters your onion address starts with.
The more characters, the exponentially difficult discovering the hash is.