anything is possible, but i wouldnt do it. its not worth the time money or effort. when you say it pulls harder than an sr, you're talking about it going harder in a 900kg car than an sr in a 1300kg car. if you stuck this engine in the trx, it'd be like having a ka24e with a chip and exhaust. the engine is also prone to breaking parts which is no fun at all.
absolutely everything would have to be custom as well, making the price huge. if you want to put an engine in that isnt nissan that is worth it, stick in a triple rotor turbo and make the trx rwd or stick in a evo lancer engine. but why put an engine in that isnt nissan? individuality would be obvious, but otherwise it just makes everything very difficult.
conversions arent cheap, not even if you're swapping in another nissan engine. if i were you and i was serious about an engine swap, i'd look at engines like the ka24de (which is 115kw - only 2kw less than the mazda engine) ca18det, sr20de, sr20det, sr20ve, vg30de and even the qr25de