The opening steps of that are already in place. Apple is already blocking content in safari by default. It’s currently doing so in the name of privacy, and chances are that what it’s currently doing is ultimately user positive.
The mechanism is already in place and ready to be expanded to include anything more as necessary.