I can no longer see posts made on a Mastodon instance ran by an ableist piece of shit after I called her an ableist piece of shit, so even Mastodon has this feature.
I think it theoretically can't be done. The protocol allows anyone to query for posts, and it has to work that way unless you want to move ActivityPub federation to an invite-only system. On most servers I think browsing while being logged out is sufficient, just like on pre-Musk Twitter.
Every time someone makes a blanket demand like 'everyone just get off Twitter,' and I ask why I should, the answer is more or less: 'I don’t like Elon, so I don’t want anyone using his platform.'
I’ve yet to figure out why I should care how somebody else feels about what I do online. I don't like TikTok either yet I don't go around telling people to get off the platform.