I'd say your best bet is to make some sort of modded block that randomly loads a structure to place when updated, based on its surroundings. If you wanted a backrooms effect, you could make these trigger based on player proximity, and have additional custom-structure-blocks in each of the loaded structures, to make the maze go on infinitely.
I'd say your best bet is to make some sort of modded block that randomly loads a structure to place when updated, based on its surroundings. If you wanted a backrooms effect, you could make these trigger based on player proximity, and have additional custom-structure-blocks in each of the loaded structures, to make the maze go on infinitely.