You can put another Mazda truck engine in place of the original.Now it does not matter if it is out of a automatic or manual transmission truck.The 1986-1993 are interchangeable.The things that do...
As with most cases it is relative to the amount you have to spend. There are groups that swap small block V-8's in place of the 13B. Some rotary Draggers use T-5 Transmissions (Ford) for strength...
I think that, only former ford ranger (earlier 80s) could be compatible with that engine. unfortunetly, the old mazdas fall in parts even if the engine still runs good.