For some time I've been thinking upon the concept of a firearm that uses a mechanical system to generate an electrical current for use in a electrically ignited firearm without the hassle of batteries. While piezometric crystals hammer could work for conventional propellants, I am not to sure if the same can be said about Electrothermal-chemical firearms.
So. what I'm thinking is if you take a linear electric motor, scale it down to to be used in a rifle like platform, and use the exiting mechanism in place for cycling to drive a piston that could generate an electric current for igniting a plasma charge.
Does this sound plausible? Would it actually work? And if it doesn't, is there a method of mechanical-electric generation that would?
Edit: To clear up somethings that I really needed to explain better; the "plasma cartridge" refers to material that is flashed vaporized by electricity into a plasma which then ignites a high temperature propellant. It does not refer to a stand alone bolt of super heated plasma, only a plasma "burst" that ignites a propellant. Thus, the question in question is whether or not the recoil of the rifle can be converted through a linear motor into electricity that is sufficient enough to ignite the plasma charge.
More information of said plasma charge can be found in the link at the main body of the question.