You can block a community to keep it out of the all feed for you, but there's no one-stop-shop to block all the communities on an instance unless you admin an instance and defederate with them (which does much more than block their community posts, it prevents comments/posts/all interaction with all users that have accounts on that server, which may be just what you want or overkill to manage your all feed).