Perplexus Shadow Open 3D Maze

I am just asking myself If anybody Will be capable to made generator for all possible 3D mazes in some range 10x10x10 or NxNxN boxes and edges with box colliders?
Or runtime endless generator in all 3 directions?

This could be maybe hard task to do?

This makes me think of Wave Function Collapse

There might be other algorithm as well

I am too stupid to implement or use it.
Does exist any blender implementatin/addon ??