there is transit hotel airsid after immigration
on japanese website it say about usd60 for a 6hr stay and also saw a 12hr plan...
https://www.rph-the.co.jp/haneda/en/transit/
there is also a landside hotel based on nightly rate also similar amount.
i would either take those seem like a good investment at this rate