Touch Bar: Tap to trigger action, long press to open group?

Is it possible to make a button that does one thing on tap, and on long press opens a group? Specifically I want some emoji groups, such as a Red Heart that inserts a red heart emoji on tap, but on hold it'll open a group with all colors of heart that I can insert.

Is this possible?

the specific emoji thing is unfortunately not possible. However, I can still explain to you how to tap for one thing, and long press for another if you'd like?