No, not without some serious modifications, ie; cutting, welding, fabrication of mounts, etc.
Then you'd have to figure out where to put all the associated coolant parts.
How much power are you looking to get? With a pipe/tune, you should be able to squeeze a minimum of 10 hp more out of a stock xb12. I got 9 with just a pipe so far, don't know what it will make with proper tuning yet.
I can get at least 15 hp out of an 1125, but it starts a little higher for it's starting point.
Just get an 1125.... They are pretty much the same thing as an XB but with the motor you want.
Its easier to fabrication body work from xb's to a 1125.