That coffee can prevent sensitive people from falling asleep is well known. Chocolate can have the same effect. Often, if I eat enough dark chocolate after 5 pm, I can't fall asleep until the early morning hours.
Is your sleep affected by your chocolate intake?
(Photo by Charisse Kenion at Unsplash)