Hello,
There's no way to add custom attributes using methods such as addText or addTable. Please note that each internal OOXML attribute may have its own scope, options and others. And adding not valid OOXML attributes may generate a corrupted document that MS Word can't open.
The only way would be using DOCXPath or DOCXCustomizer.
Regards.