"Here’s proof you can’t put the genie back into the bottle, so to speak. This home made gun fires iron rod sections and is powered by match heads. Here are some photos (same source) of weapons and other implements made in a German prison.
Where there’s a will, there’s a way."
From The Real Gun Guys website.
As several commentators have mentioned, all you need is one good shot to get a high-quality weapon.