no, right now, when a message is received by mastodon, it pulls in what local doppelganger user would have created it (which is slow), and pulls in various objects for the local opinion of the remote server's policy to determine if media should be blocked or the message entirely.
instead, this needs to be controlled by a SAT with the local server policy stored as constraints in the SAT model. then you solve the SAT model with each message as the input.
such an approach is way more flexible than what mastodon has right now (user/domain blocks, media blocks), because it is a unified filtering model. implementing additional filtering constraints becomes virtually cost-free.
the SAT model (at server scope, and user scope) can be cached to make it very inexpensive, verses the current approach.