In principal yes, but in practice because this renders in the browser chrome, there are a bunch of limitations on what JS can do and I believe Hogan would have to be significantly altered to work in that environment. Firefox has its own Chrome DOM templating engine called DOMplate which I found significantly more obtuse and wordy than writing the HTML by hand. That said, it would be nice to find a better solution here.