Yes. A ws:section node has a multi-valued property named ws:ancestorSections that contains the ids of all of its ancestor sections. You want to find the root section of the relevant website and constrain your query so it only returns sections that have the root section id as a value of their ws:ancestorSections property.