Sleep extension is the move, not a pre-race all-nighter
In the research, the most common pre-race strategy among finishers is sleep extension: deliberately sleeping more than usual in the nights leading up to the race. Roughly half of finishers do some version of it, and it pays off. Runners who banked extra sleep beforehand had a lower fall rate during the race (around 12 percent versus 17 percent), which is exactly the kind of sleepy-stumble injury you want to avoid in the dark.
So in the 3 to 5 nights before your race, aim to get more sleep than you normally would. An extra hour or two a night is plenty. Do not do anything heroic the night before, because pre-race nerves usually wreck that sleep anyway, which is the whole reason you front-loaded the rest earlier in the week. If you get a bad night right before the start, do not panic. The nights before that one are what carry you.