Yes.

Simply copy your embed code to a “code block” on Squarespace.

Here is an article on Squarespace describing how to use code blocks.
http://help.squarespace.com/guides/using-the-code-block