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.
Of course it is. I could be perfectly normal and ok, you invite me to dinner, we sit down, I don't like the way you prepared the potatoes, take my fork and stab you without any warning at all. Even if you survive a crime has been committed.