lol, my husband does the same thing… I told him I can’t see the door at night and sometimes walk into it, so we leave it open at night, solves the problem.
Motion activated (night) light - even a little battery powered one - and the same in the bathroom. Not enough light to stir you awake but enough to find your way without turning on lights or fumbling in the dark.