There are two cases in which I am thinking:
1] If the search string is "we buy houses" and the domain is "https://webuy.homes"
2] Same search string, but the domain is "https://webuyhom.es".
I see more and more domains using the second strategy as a creative and truculent way of structuring your domain to make it entertaining from the perspective of a human. But I wonder if the same strategy would generate some juice from an algorithmic perspective.
I guess the first domain would rank higher than the second, but I wonder if Google would even consider the second domain to be a coincidence.