Of course you can. I'd play with bind outside of the text file first (or macro, which is the same thing but uses PowerTray slots) so you have an idea of what works and what doesn't.
In general, CC Emotes, anything dealing with powers, and unimplemented chat channels (Super Group, Friends, League, etc.) won't work. CC Emotes have workarounds when you install a Quickchat plugin to get most of them working with the regular Emote command, but they work asynchronous with costume changes (not synced at all).