Yes, Haneda is so close to central Tokyo that transportation at that hour is no problem. I haven't taken the trip since the days when Haneda was Tokyo's only international airport, but Hyperdia says that it takes 20 minutes to Shinagawa and you can leave as late as 11:41PM.