What everyone else has said. With the right dies (and that's how you'd probably do it, for the best similarity) it wouldn't be terribly hard to make. But justifying how your character comes up with such an idea is going to be nigh impossible.
Likewise gunpowder. How do you explain, in character "I'll take this charcoal, saltpeter, brimstone, mix them together, pour urine over the whole thing, run it through a mesh, let dry, urine and strain again, and then cram in a metal tube with this piece of metal at the other end." when most people don't even know the basics of pressure?