It's hard to say. You'd have to look into the background and inspiration of the author to determine if there's any truth to it. Maybe it's a blend of real-life experiences and imagination.
I don't know for sure. It could be completely fictional or inspired by real events in a loose way. You might need to do some research or check the author's notes to find out.