Fedibird (my fork) is doing something similar.
It has already been implemented and has been in operation since August 2022.
- The ability to specify the searchability you want to allow for your account and posts is granted.
- Make representations in ActivityPub and federate with other servers/implementations.
- It is reflected in the full-text search, and it is possible to search according to this specification.
- The searcher can specify the target searchability.
- We have an endpoint for external search engines using searchability
I started small with my implementation, but over time I've found it to work well and wanted to spread it around.
Is there anything I can do?
I'll go into a little more detail if needed.
I'll try to make it compatible with this pull request in the end anyway.
https://github.com/mastodon/mastodon/pull/23808#issuecomment-1543273137