This is literally impossible even with ai and a dangerous bill for big tech. While for smaller Fediverse Communities it's much much easier to moderate that type of content since
a. we don't have to rely on a corporation to provide the tools we need.
b. you would only be responsible (I think) for content on your own local feeds. However if you are responsible for federated content appealing as well, might want to federate with servers with some type of user verification (not id verification) but like verifying your use purpose of a server they are joining. and defederate from other servers that are not moderating their local feeds.