It's certainly known that they do the tracking part - in the UK as long as a decades ago you'd see police at demonstrations with cameras catching as many faces as possible (and weren't secretive about their purposes). What they then did with that information could range on a scale from nothing to conspiracy theory level, I'm not sure.
I don't know per se. I've heard some vague references to it. Main point is it's so possible & compelling I'm having a hard time believing it's not happening. Some things are, in fact, not well known despite our firehose-style media.
Has this happened?