No not at all.Immigration line in and out are long and slow.Plus i think you will have to pay departure taxes as those are not included in your ticket being in transit only.Narita airport is huge some gates will take you at least 10 minutes to get to immigration.Play it safe stay in even if the airport is really boring.
Have a nice trip