In every way one can, Freud was mirrored by Proust as much as one can mirror a body of knowledge in a novel. The only thing that is missing is playing the role of the analyst, but even then, he had to come close being a neutral listener to write his novel.