Hello,
The easiest solution is using DOCXPath available in Advanced and Premium licenses.
Using the Basic package it can be done adding a placeholder in the template and replacing it by a WordFragment with a table a other placeholder than can be replaced too and so on.
Regards.