I dunno about an inline 6 fitting just because it was in the R31 with a 4 banger. The S12 obviously has the bay WIDTH because it came with the VG30E (rarely), but that's only 3 cylinders long...So I'd play it safe and stick with the FJ.

Of course you can fit anything in anything, it's just a matter of difficulty.