Biography always has fulfiled this role. Robinson Crusoe is a biography, as is Tom Jones. You can go through the whole range of the novel, and you will find it is biography. The only difference between one example and the other is that sometimes it's a partial biography and sometimes it's a total biography. Clarissa, for example, is a partial biography of Clarissa and a partial biography of Lovelace. In other words, it doesn't follow Lovelace from when he is in the cradle, though it takes him to the grave.
William GoldingHow would I myself live in this proposed society? How long would it be before I went stark staring mad?
William Golding