Yes. Create a document query and add a pv0 filter to it. The filter passes the ID of the record you generate the document from, so the query returns only the child records related to that record.
For the full steps, see Create a document query with the pv0 parameter.
Related: Use SOQL queries in Docs Made Easy