Yes, the short story answer is to take two photos at each position. One photo is of a properly exposed interior and the other is of a properly exposed exterior through the windows. Stitch the interior and exterior based exposures separately and then use a photo editor to combine the best of both worlds.
The long answer would include an explanation of photo exposures and how to combine the images in a photo editor. Both situations have more than one method that will work. Of course, the higher the aperture for the photos, the greater the depth of field and thus, better clarity. With the editing, a layer mask will save timely backtracking (if that is one word).
Hollar if anything doesn't make sense.