Is there a way to to something like this for Lemmy? This is one thing that I used all the time for Reddit and found immensely useful.
There's someone actually building this right now. It's a Lemmy search engine. https://browse.feddit.de
https://github.com/marsara9/lemmy-search
It's still in EARLY development so expect bugs.