Can a part iterate over other parts?

I’d like to have pages/parts structured like this:

A page with a “body” part which iterate over sub-pages. Each sub-page
contains several parts, one called “main” and others. I’d like to
know how to iterate over the other parts. Is that possible? Am I
clear enough?