The Frontier trucks are Spring Over Axle, the Xterras are Spring Under axle - and not readily exchangeable.
I say 'readily'- because yeah, you can make lots of cutting and welding to get them to fit. It's not worth the hassle IMHO.
You also wrote, " Wanting to clear 31" tires" ? So...wait a...