Hello,
Yes, you can accomplish what you need using WordFragments. Instead of strings, you can add WordFragments as values to fill tables (you can also use WordFragments for almost any method).
We recommend you to read the information available about WordFragments on:
https://www.phpdocx.com/documentation/practical/wordfragments-and-wordml
And also check the included samples in the examples/Template/replaceTableVariable folder; sample_3.php fills a table using WordFragment with links and images (and you can use almost any other contents such as HTML, charts, texts, paragraphs... as WordFragments).
Regards.