It's actually a thing, and I've seen it in operation.
I will expand later.
Prison time?
Cheeky bugger.
No!
I actually had a colleague in IT about 20 years ago who was **very** obviously on the spectrum. He was obsessed with pregnancy, babies, early childhood, anything related to that. And he had no filter on what he said, so he had a tendency to come across as a little "creepy".
One (male) manager in particular engaged in a witch hunt to try to get rid of him, and made a bunch of nasty allegations including completely unfounded allegations of inappropriate behaviour towards young children. It backfired on the manager when the employee went to HR regarding the allegations and said "none of this is true", which of course it wasn't. Really the sort of things he would do was to press his ear against a pregnant woman's belly without asking, and tracking women's pregnancies. Like he would walk around to their workstartion and say "you are in the 17th week (or whatever), are your nipples puffy and sore?".
The reality is that if you are a single male you need to be **extremely** careful around children, especially if you are a bit different. Because it doesn't take much for the rumour mill to get going.