Yes, you can do this with [icon] tag:
https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/text#internalH1Link2
Hmm, I see. But how exactly does that function... work? Is icon replaced by the name of the object I'm ripping the sprite from or what?