Hello,
Yes, you can insert any content at any point of the main document using DOCXPath:
https://www.phpdocx.com/api-documentation/docx-path/insert-elements-in-docx
This feature is available in Advanced and Premium licenses since the release of phpdocx 6 (https://www.phpdocx.com/news/post/phpdocx-v6-0-release-notes/208). You can upgrade your license on MY PHPDOCX page after login.
Regards.