You would literally have to build the car from scratch. You can't fit a GM engine to a Mazda Transmission, won't fit motor mounts, won't fit in engine compartment, electronics won't match up, so no you can't unless you want a 75,000 dollar RX7 by the time you are done.