It's doable on Mastodon but significantly more complicated.
You need crawlers to index posts across the Fediverse (and avoid getting them blocked), personalized recommendation models per user, and you need pre-emptive caching on the user's instance for anything recommended (ideally the crawler would make a cache on behalf of each of the opted-in users' instances, but without content addressing this is a security risk). You also need to poll for edits / deletions.