I always kind of wondered if something like this (the way the title describes it not the way it actually went) wasn't theoretically possible using similarities in writing styles. Like I have several different accounts on some social media sites and make posts and comments on each one for different purposes. But I suspect that, if they were each analyzed based on how things were worded and word frequency and a few other things, they could at least be assumed to be linked together.