Probably not. Anything like this would probably be overrun with or specifically designed for people sending shit like CSAM.
Honestly just you asking about this makes me very suspicious of your intent.
That said, of course anything like this is also functionally impossible because a determined person could just get around any sort of measures you are imagining, either natively on the device or just by taking a picture of one device with another.
So either you clearly have not thought this through or are looking for something like this for illicit purposes.