Hello,
Sorry, background-color is supported by <p> (and other tags like tables, lists...). This is a tested example:
$html = '<p style="font-family: Arial;font-size:11pt;background-color: yellow;">9</p>';
$docx->replaceTemplateVariableByHTML('FIELD_BK', 'inline', $html);
Regards.