While it may not seem like the ideal time to tuck into something sweet or starchy, late night cravings for sweet treats and carbs are actually very common.
https://www.huffingtonpost.co.uk/entry/late-night-craving-sweets_uk_67e2be82e4b0caf90a223694