Precisely that!
The outside doors lead out of the cube by design, but depending on how mean I was feeling I might infinitely loop them too