There are numerous build threads on engine swaps on PP. My own, a 617 into an SL chassis is well documented. There are also threads on swaps into a Studebaker PU, a Toyota PU, a s10 PU, a Ranger and on the list goes. In the end it's a very straightforward, though not always easy, process involving various levels of engineering, fabrication, trial and error and tenacity. The steps are - make it fit; hook up all the systems; make it pretty.
As I understand it, the biggest problem with a Jeep is clearance between the front axle and the engine sump.
Read through the build threads and you'll identify the areas of concern and various solutions to the issues. In my own build it took well over a year with 90% of the time being research and contemplation of solutions. Now that everything is sorted, I could re-do the swap in a couple weekends.
If you proceed, start a build thread and share your process with LOTS of pictures. THe more info you provide the more responses and ideas you'll get.
Oh, and one other thing - make sure your proposed swap is legal where you live. Every state is different and the requirements can vary from onerous to non-existent.
It's been done before -
https://m.youtube.com/watch?v=T3oeMgjZ6xY
Good luck.