Chat box in a test environment / for capture

There’s no way to do this through the chat system itself, but as the chat window is HTML one option that would be entirely client-side would be to write a script that manipulates the DOM and creates elements with whatever text you like.

One important thing to keep in mind though is that Twitch’s legal guidelines on use of emotes for things including ‘creative works’ which your short film would fall under:

https://www.twitch.tv/p/en-gb/legal/trademark/

So without explicit permission from Twitch (or individual channels if you want to use channel emotes), you should not use emotes.