You can include essay elements in fiction; this is a very nineteenth century practice.
Sontag, Susan. "The Art of Fiction No. 143." Interviewed by Edward Hirsch, The Paris Review, no. 137, Winter 1995.
Sourced by: Quote.org sourced
Susan Sontag was an American writer, filmmaker, philosopher, teacher, and political activist. She mostly wrote essays, but also published novels; she published her first major work, the essay "Notes on 'Camp'", in 1964. Her best-known works include the critical works Against Interpretation (1966), Styles of Radical Will (1968), On Photography (1977), and Illness as Metaphor (1978), as well as the fictional works The Way We Live Now (1986), The Volcano Lover (1992), and In America (1999).