Change Touchbar Icon, on the fly?

As I play with this marvelous tool, I start to miss some of the features of the Stream Deck interface, such as the ability to have toggle buttons. So if I create profile for Zoom, it would be great if the "Mute" button in the Touchbar could now reflect that the microphone is muted. that make sense?

You have to work with apple script widgets to get this, it takes some time though if you're a total novice.