I'm also thinking of setting up a server (would host a public Synapse instance and maybe Mastodon too), and thought about this same issue.
Perhaps a bot that just goes through a list of known instances and just subscribes to communities would do it? Might be a bit heavy though. Not sure how much load Lemmy federation puts on the server.