Button to toggle "Enabled / Visible on touch bar" for other Touch Bar buttons?

Not sure if there's a way to do this - but if I have one button named 'Toggle' and I have a different button for example Volume Up button, I want to press 'Toggle' button and it shows/hides visibility from Volume Up button. Is it possible? Thanks a lot everyone