Building 3D strata patterns

I can think of a few ways of generating random 2D patterns but I’m not sure where to start for something 3D, each layer would be a curvilinear closed solid that loosely governs the form of the next and generally keeps a similar thickness.

Something like the image below.

My ultimate goal is to have a layer cake to carve into and reveal.

I started off with a rectangle, a planar point grid and began randomization the selection of points in conjunction with patch and upward movement… it’s sort of a cpu intensive pillow fort atm, it kinda works but I feel like this is an amateurish approach. Still working on that and I’ll post it if I get anywhere but I think I need a fresh start in another direction.