There's nothing impossible about it. It's merely a question of resources. Pervasive surveillance+ML coupled with an implanted device which incapacitates an individual would get you there. Fast forward to an Elon Musk future where everyone has a neural lace, feeding their every thought and intent to pervasive surveillance. Futuristic? Sure. But not far off and certainly not impossible.