You mean randomly generate every single tile? How would you allow for alignment, door placement, navmesh, fx, clutter..... I can't script, but I seriously doubt that's possible..even with a true programming language.
Maybe create several interior cells with a unique dungeon in each one and have the script randomly send the player to one of them?