But to address the question yes you can put one in a newer truck but to intergrate the electronics would be a nightmare. Yes in other applications the 6. 7 and allison are mated and have compatable electronics, But Dodge or Ram uses a different programing than Cummins commercial engines. The cost of just the adaptors is about $1600. 00 and e;ectromics close to the same so even for a used Allisn with labor you are looking at a minimum of $5000. 00 probably more like $7500. 00 So no they did not put an Allsion in the truck for a couple grand.
The programming for the engine and transmission is not integrated on the 6. 7. A seperate controller is used to manage the transmission. The programming in that controller can be changed to whatever the programmer can think of, good or bad. All the controller needs to do is accept input from the ECU on certain parameters, or none. A stand alone controller needs minimal inputs but will need beefing to NOT be managed correctly.
A transmission replace\rebuid is around $5k for the newer 6 speeds, maybe more or less depending on the dealer. If said truck is under warranty and the dealer simply runs the cost of the parts thru warranty and puts that toward an Ally swap the with the cost that was posted your right back in the ball park of $7500. The statement they did NOT put an Ally is premature without more info.
The Alison is just a gimmick.
Then you can lump the 68RFE, AISIN, and TQShift in there also. There is very little difference in the function and parts across all 4 units. They are all 3 pinion 6 speed units that are under clutched, over managed, and built with parts that are adequte for the stock power levels for a finite period.
The only major difference is the trans control programming and the nut behind the wheel. Dodge erred on the side of caution, the other 2 push the limits to give a better driving experience. The result is the AISIN and 68RFE are less prone to failure AS INSTALLED in a stock chassis.
Remove the safeguards, or aggressively apply the pedal, and none of them will take the power thes eengines are capable. Even more so with the Cummins because of how and when it makes the power that will destroy things.