The UK is trying to ban nudes (store, transmit, display) on smartphones owned or operated by kids under 18.
Is young people seeing nudes bad? Separate problem, and could be its own thread, but for the sake of argument let's say "yes."
Is the problem tractable? I think the answer is actually "probably" for a partial solution. It'll be expensive (Apple and Google's money and everybody's electricity and, of course, privacy), but I'm playing Evil Oracle in my head and I'm not seeing a defeat strategy for "cliient-side hash check routed to server for detailed confirmation and revocation of account on offense."
... But blocking seeing them at all? Intractably expensive in energy and time for anything approaching a 100% case when bright and motivated young people are in the loop.