Could you make a functioning cannon out of concrete, or stone?

There’s a substantial difference between “propellant” and “high explosive.” Fill a mine bore with gunpowder, and you probably won’t break the rock. OTOH, replace the gunpowder in a cannon with high explosive, and you will reliably create a Very Large Grenade.