If you have a PIC which can toggle a pin at ~500kHz or more then that could substitute for U1a. However, depending on the (unspecified) inductance of the magneto coil the voltage developed across it at that frequency may be too small for the PIC to sense without external amplification. It is small because of the necessity for a high series resistance to prevent (a) damage to the PIC from the 150V and (b) loading of the coil. Once the signal is amplified the charge pump could be replaced by pulse detection in software.