Custom Bar Gives way to Apps that have a Touch Bar menu


Is it possible to make it so when you open a app or do something that has a Touch Bar menu takes over the Touch Bar until its closed then goes back to you the that you have made?

Or is there a way to make it do this already?