Hello,
The current version of phpdocx doesn't allow to manage the Word attribute to set character styles dynamically. We recommend you to use placeholders to set and change styles of inline text when working with templates or use the available options when creating the documents from scratch or when working with WordFragments.
Regards.