FSX had a couple missions with scenarios like this. "Limited Options" (see: https://www.fsdeveloper.com/wiki/index.php?title=FSX_Default...) simulated a dual-engine failure on a 737 over the ocean, which required a glide to one of a couple small islands near the Maldives.
Similarly, I enjoyed a mission that required landing a 747 in Singapore during a monsoon. I'm really looking forward to FS2020 and what it'll look like to do the same thing with the graphics enhancements and new weather simulations.