Hello,
UPDATE: phpdocx 12 has added support to add base64 images in addImage and replacePlaceholderImage methods.
addImage supports adding images from files and streams, but not as base64. Image as base64 is only supported using embedHTML (or replaceVariableByHTML).
We have opened a task to add support in a future release of phpdocx.
Regards.