Private users in Discourse

Is it possible for members of a Discourse site to opt-out of being displayed in the member directory?

I’m not aware of any way to do this.

You could deactivate the enable user directory site setting, but that would turn off the directory altogether. You could also enable hide user profiles from public which at least prevents non-users from seeing anyone’s info.