Should be entirely possible. I don't know of any tools that have that option for a search criteria though. Primal's advanced search is the most robust, but doesn't include that option.
Discussion
Yeah primals ability is pretty good. I wish damus could bring some of those features
Primal's ability to have such a robust advanced search is largely due to their caching relay, which is divergence from the ethos of keeping things decentralized on Nostr. Damus is unlikely to follow suit, since they fundamentally disagree with this kind of centralization.
I respect it