That's how serious fiction ought to be written!
There's a story to engage with the reader and convey the basic idea, AND there's a non-fiction part to explore deeper ideas that don't fit in the fictional format.
The non-fiction part provides evidence for the story, explains why things unfold as they do, and presents the thesis in an unambiguous, non-metaphorical way.
Bonus points if the story also has footnotes and references, but AI-2027 is the only piece I've seen that does it.