Don't do it to yourself...
Book a hotel, Premier Inn is fine for an overnight (however when we stayed, the room was hot as the quad room ac unit was too small for the room).
If you don't want to wait for the shuttle from Terminal A, grab a Careem (Middle East Uber) and go. Takes about 12 minutes from arrivals to lobby.