You’re massively overthinking this. We can make something illegal without making it easy to prove or identify or requiring some bizarre automated system.
This is like saying we can’t have anti-stabbing laws because it’s really hard to define the concept of a knife.