Enhanced Importance Sampling through Latent Space Exploration in Normalizing Flows