How can i recreate the cave generation of Deep Rock Galactic?

Hello there! Deep rock galactic is an FPS that lets you play in procedurally generated 3D dungeons.
My question is: I have a bunch of premade rooms that i want to spawn randomly in the world, then i need to sticth them togheter with tunnels, i need to procedurally generate the tunnel as i don’t know how far the 2 rooms are. How do I start with all of this?

You could connect the exit and entrance of 2 rooms with a spline and build a spline mesh component around it.

There are also Plugins for this on GitHub and on the marketplace.

and splines can be generated at runtime?