Hello,
phpdocx_section is an inline tag (https://www.phpdocx.com/documentation/introduction/html-extended-to-word-PHPTag types section) that should be rewritten to work as block tag. We move the request to the dev team.
Anyway, we think the previous approach is not complex. You just need to generate the section tags as WordML and use a phpdocx_wordfragment tag instead of phpdocx_section.
Regards.