@anasustic Use ACS Commons Report Builder [1] capability, it provides Page Report, which allows you to select root page and template, and list down all pages created with the selected template used root path.
[1] https://adobe-consulting-services.github.io/acs-aem-commons/features/report-builder/...