Potato as a silencer...?

Wouldn’t taping the potato firmly to the barrel greatly increase the chance of the barrel exploding?