Adding randomly generated scenes to a game while running

My game is a randomly generated RPG. Everything is generated as the player explores so I need to create new scenes for building interiors and dungeons as the game runs. The goal is to create an interior scene for randomly generated dungeon entrances in the overworld scene. Is this possible? Please help if I cant do this I will need to rework my entire plan.

Hi, there is some diferents ways to acomplish this goal.

One of them and in my opinion the easier is by making a new scene in the asstes and using it like a prefabScene. In that new empty scene you have to make the script to control the generation of the maze, for that you can use diferents implementatios, for example the perlin noise algorithm or the wave function collapse.