During the Satanic Panic of the 1980s/90s, a private "consultant" to law enforcement put out a pamphlet with a question of the nature "Do you play Dungeons and Dragons?", with a "yes" being considered diagnostic of "satanic" or some sort of "antisocial" tendencies. It was not incorporated into any law enforcement for real, as far as I know. So, yes, "the question" did exist, but it was from a private source with an axe to grind.