The last bus from NRT to HND is at 9:30 pm which may be tight depending on how long customs/immigration takes (though with carry-on only you would be totally fine barring a flight delay).
There's also a 12:30 AM HND-BKK flight on ANA though their regional product would not be as comfortable as Thai's.