Not exactly, there a lot of nuances between the first generation 5.7 hemi and second generation 5.7 hemi with VVT. Also the truck version is different than car/jeep based hemis.
The car and jeep hemi has different accessories to fit in a smaller engine bay, intake is oriented to the drivers side, different cam and power ratings, different exhaust manifolds.
Also I'm not for certain but there might be significant differences in the harness when they switched to the ZF 8 speed in the trucks in 2014.5. ECUs became locked and encrypted in 2015. Also the electric power steering came with the ZF 8 speeds.
There's a lot to pay attention to, here is couple links to give more info than I can:
https://www.knowyourparts.com/technical-resources/engine/57l-hemi-anatomy/
https://www.allpar.com/mopar/new-mopar-hemi.html