Pale Fire (1966) by Vladimir Nabokov: A novel presented as a 999-line poem titled 'Pale Fire,' written by the fictional poet John Shade, with a foreword and lengthy commentary written by Shade's neighbour and academic colleague, Charles Kinbote. https://en.wikipedia.org/wiki/Pale_Fire
The Picture of Dorian Gray (1890) by Oscar Wilde: A philosophical novel about a handsome young man who makes a Faustian bargain that allows him to pursue a hedonistic and libertine life and stay always young and beautiful, while his portrait ages and records all of his excesses. https://en.wikipedia.org/wiki/The_Picture_of_Dorian_Gray