Yes.
Explanation of why:
The 4.0L I6 Engine that Chrysler used in the YJ and TJ and almost everything with the Jeep name on it was an AMC Engine released in 1987 BEFORE the sale to Chrysler was final.
Rather than build a new jeep engine, chrysler has kept using the same old 4.0L block for close to 20 years.. being an AMC Block.. it carries the same old AMC Bellhousing Pattern that the AMC I6 and AMC V8's have. So it will bolt up.. technically..
That said.. it will bolt up.. but your gunna need a few things for it to work right.. those bushings and bearings may or may not exist for the AMC V8.
Note: I am tired.. this information is intended to be accurate and probably is.. but standard disclaimer applies
-Dave