Absolutely, you can paste any HTML.
Either paste it directly into your template or if you only want to use that code on a single page, add a $Header token and then paste the code from the front-end.
Use the Header token instead of C so that the system does not wrap any p/p html tag around your code.