Hello,
Yes, you just need to merge second and third DOCX and then merge the output with the first DOCX. The mergeDocx method includes the numbering option to manage page numberings (continue and restart values are available).
As you are using a Premium license you can use in-memory DOCX to get the best performance.
Regards.