Good man. Self awareness helps a lot. Im a devil for eating shite while watching telly myself. It's a tricky habit to beat.
You're right about sleep, that's paramount. Get that right for a start and the water. Then maybe allow yourself one biscuit or half a bar max in the evening, no compromise, engrain it.
RE: Time to change some habits.