Additionally, the Miata engine is a high-revving, naturally-aspirated engine, while the B2200 is equipped with a lower-revving, turbocharged engine. The Miata engine would likely need to be modified with a turbocharger or supercharger in order to produce enough power to move the heavier B2200.
Overall, it is possible to swap a Miata engine into a B2200, but it would require a significant amount of fabrication and modification. It is not a project that should be undertaken lightly.