How can I make a motorcycle CDI (capacitor discharge ignition) using a power MOSFET?
No.

It takes more than a MOSFET to control phase and timing of ignition pulses.

http://ww1.microchip.com/downloads/en/AppNotes/00001980C.pdf

http://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en575368#utm_source=MicroSolutions&amp;utm_medium=Link&amp;utm_term=FY17Q1&amp;utm_content=MCU8&amp;utm_campaign=Article

But here are primitive ways to replace the points with a transistor or MOSFET or IGBT but not gauranteed to improve performance.

https://www.rmcybernetics.com/science/diy-devices/diy-ignition-coil-driver