In many ways, it's actually these sorts of thematically structured novels that make for some of the most solid examples of the operas-based-on-books genre.
composers and librettists have license to condense and truncate towards thematic purpose.