I may be missing something but you could potentially just use unsafe block.
body { unsafe { +"<my-tag/>" } }