Dock widget question

I was wondering if I have a dock widget in the home strip section of my goldenchaos touch bar, could you possibly hide the finder. Also is it possible to make it so that the number of pixels it takes up is determined by how many apps you have open?