No! Denim is not a good choice of fabric for backpacking. It’s bulky, heavy, and holds on to moisture. If it rains, or even if you simply sweat, you could face the risk of chafing from your wet jeans.