Not completely, I am afraid. But I can offer a partial solution.
Let's assume you found the files that contain a certain text. You could then use this script to get to a collection of their containers. This allows for a bit browsing, albeit not as comfortably as directly in the folder tree.
With a modified version of the script above you could feed the containers to a Show Filter for a bit more automation. Try and see if Filtering, Flat Viewing and Grouping work together in a useful way.