Hello,
That kind of list styles uses overwriting level styles from MS Word, that are supported since phpdocx 9.5 (https://www.phpdocx.com/news/post/phpdocx-v9-5-release-notes/219) but only in addList and createListStyle. They'll be supported in HTML methods in the next release of phpdocx, as it's a work in progress.
Using the current version of phpdocx, the approach to be used would be adding placeholders in the positions to add the lists:
<ol class="list-upper-roman">
<li>UPPER ROMAN 1
$LIST_1$
</li>
<li>UPPER ROMAN 2</li>
<li>UPPER ROMAN 3</li>
<li>UPPER ROMAN 4
$LIST_2$
</li>
</ol>
and then use replaceVariableByWordFragment or replaceWordContent from DOCXPath to replace the placeholders with the new lists.
Regards.