I recently spoke to someone from JeepAreUs, as they carry the 392 hemi engine for around $7.5k, and I was told that it was a direct drop, with a computer reflash. To make things easier, I priced out a MY16 5.7L loaded, and a MY16 SRT, and the difference was roughly $18k more for the SRT. Now if I was able to just switch out the engine, that would be a 10k difference to do other things with. I'm not worried about the labor to do the swap, I'm merely concerned with how possible it is and if someone had done it successfully.
It sounds like you are pretty committed, and it would be a fun swap to do. However, let me put one final caveat out there. If you do as you suggest above and buy a MY16 5.17 loaded (lets call it $47k-ish) and you put another 7.5k into a new motor, and some amount of incidentals (lets say 2.5k for a nice round number). You now have $60k into a jeep that may be very difficult to sell. If you plan on keeping it forever, no problem. But if you like to change every 2-4 years it could pose a problem.
For example, I have a buddy who bought a brand new dodge dakota in the early oughts (2wd, reg cab, short box). Drove it home, pulled the motor, and had a viper v10 professionally installed. It's a tiny truck with a gigantic motor and it is a ton of fun. However, at the time it was a $20k truck with $25k+ worth of motor in it. Today it is a $5k truck with $25k worth of motor in it. He has tried to sell it a few times, but it never seems to generate any interest.
Bottom line is most people shy away from heavily modified cars as they don't always trust the work was done right. So in considering such a significant swap, you should really evaluate how long you plan to keep the vehicle. If it is 5 years or less; something bolt on like a super-charger, or a used SRT might make more sense.