Well, yes, it is, and I have done it. BUT let me say it is NOT practical, is very tedious, and can be dangerous, plus I am not even sure the material can be obtained any more.
The ingredient is "strike anywhere" match head tips. Cut them off. Swab on ointment for the finger burns! Grind up the tips and make a thick paste. Using a dental pick, push the paste into the parts of the rim that have not been crushed by the firing pin. Let dry and load with (I won't name it) powder. Put a .22 caliber lead ball in the neck and crimp. Insert in gun, making sure the part under the firing pin is not the part that was hit before. Fire. The effect will be less than optimal, but it will go bang, sort of.
Clean the gun because the material in the match head tips is corrosive as heck.
So, can it be done? Yes. Is it practical or feasible? Let me know after you have loaded your first 500 rounds.
Jim