Just make the enemies run away from suspicious barrels. Explosives add an interesting tactical element. Giving the player the option to place hidden explosives and do other preparations for the siege would make more sense. Even goblins are too smart to walk into a trap like that.

I sometimes use thought experiments. I don't necessarily believe in every idea I post for discussion on this forum