I doubt it, if the doctor just turned up in the 41st millenium then they would kill him for being a witch. One of his most used tactics is to gain access to wherever with his psychic paper- eventually he would try that against a librarian who would spot the psychic influence, resist it, then kill the Doctor.