It’s not ideal, but t it does exist in pure html… and the OP didn’t seem to note it.
A bit of vanilla JavaScript with WebComponents is a few lines:
https://gomakethings.com/html-includes-with-web-components/
Edit: “t” was supposed to be the object tag.
> it does exist in pure html [...] JavaScript with WebComponents
You seem to have a rather original definition of "pure HTML".