Joanna Lumley played the 13th Doctor in Comic Relief: Doctor Who - The Curse of Fatal Death (1999).
While not a part of any future Doctor Who continuity, this was a BBC approved production, written by future series writer and show runner Steven Moffat.