Is it possible to make a wall from a closed curve?

Yes it is. Since version 1.7.3 you can create a wall from any open or closed curve as long as it is planar, by using the vaWallFromCurves command.

Laberynth closed walls