For the most part, yes. There maybe some differences with axle spline count and the carrier (Depending on the gear ratio used) Also remember that you should not use a reverse rotation gear set in a standard rotation axle.
Although it's been done before, I wouldn't suggest installing used gears into another axle because it maybe impossible to set up the gears to mimic the previous wear pattern in the new axle. This means that your gears can have a very short life with an improper wear pattern. OTOH, you can use a used locker in a different axle, but while you're at it, you might as well rebuild the diff. especially if the axle spline count is different.
RamchargerCentral.Com is a Dodge truck community built by a vast number of experienced owners. Whatever you're thinking about doing from routine maintenance to full-on restoration, odds are somebody around here already has. Originally focused on the Ram Charger / Trail Duster, our members own, drive and wrench on Mopars from the 40s to the current day. It's not what you buy, it's what you build.