Yes.
HTML page:
<!DOCTYPE html>
<html>
<head>
<meta name="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div id="editdiv">Some word & example</div>
</body>
</html>
JS:
let menu = mp.browsers.new('package://realliferpg/index.html'); // start of CEF (HTML)
menu.execute(`document.getElementById('editdiv').innerHTML="Hello!"`);
After this executing this script with this HTML in block with id="editdiv" text will be this: Hello!
menu.execute is executing methods in CEF