Alice in Wonderland has enough of the dream quality to it that either he was on drugs, or he was very good and remembering how weird his dreams were. Of course, in that time cocaine use was not considered that bad, about the same as smoking today. In his stories, Sherlock Holmes indulged according to Dr. Watson; Freud was said to have used it. many artists of the day used it.
I saw a book in a bookstore once about 40 years ago of photos made by Dodgson - including probably those “discovered nudes” mentioned in the article. They were nothing explicit, but IIRC the little girls were nude, but in the same manner as classical painting nudes - nothing explicit visible, or strategically hidden with props - I don’t remember.
Of course it was a much more innocent time in some ways - not that people didn’t molest, but that it would probably not occur to most people that their acquaintances would do such a thing, and they probably wouldn’t suspect a person of that if he asked to take photographs and said all the charming things necessary. They probably thought he and the photos were harmless.
Also, polite society didn’t tolerate innuendo about straight adult sex; I would be suprised if perversions were common in anyone’s mind. (The story goes that homosexuality among men was outlawed but not lesbian activity, because nobody could figure out how to explain lesbian activity to Queen Victoria who had to approve all laws.)
Based on the descriptions of his character - shy, stuttering, not many close friends - I suspect he had the urge but, since he was never “run out of town” I suspect he never followed through. There’s some interesting quotes somewhere about his opinions on little boys (evil and nasty types) and little girls(along the vein of “sugar and spice”); I assume his opinions of boys goes back to being tormented by other boys growing up.