If you are having ignition problems, the first thing to do is replace the old mainspring with a new one.
My 1968 vintage M46 S&W, had squibs, failures to ignite, stove pipes. Smith and Wesson was out of new OEM mainsprings so I purchased "new" mainsprings from Numrich. They were awful, inconsistent lengths, looked like they had been clipped with wire cutters. The longest I put in the M46, that helped things, but then back to malfunction junction. I called S&W, out of mainsprings again, but an Ebay vendor claimed to have new OEM mainsprings. Purchased a couple. I could tell the Ebay mainspring was stronger from hammer cocking resistance. New mainspring improved function reliability too, makes a difference on slide speed during unlock. Better ignition as fewer squibs and stove pipes. Cheap 22lr is never perfect, just levels of frustrating. I am not sure which of the two white painted mainsprings is the M46 original and the Numrich replacement. However the 1988 M41 mainspring shows how much a mainspring shortens over time. I installed a new mainspring in my M41, and it is more reliable now. Another thing to replace is the recoil spring. both the mainspring and recoil spring affect the timing, when they get weak, you will have malfunctions.
A longer firing pin in a 22lr is risky, as the firing pin tip may hit the back of the barrel, and I have a ruined Ruger MKII barrel where that happened. The firing pin retention pin fell out while I was inserting the bolt into the receiver. A few dry fires later, I had a deep gouge in the chamber, about an 1/8 deep.
Hopefully you don't have a short firing pin, those can happen. I guess I should ask, why do you think you have a short firing pin, and are you having squibs and failures to eject?