Summary
Eating chocolate before bed is generally fine in moderation. Caffeine levels in cocoa powder can disrupt sleep if consumed before bedtime
1
, but people tend to eat less chocolate the darker it is
2
, so it shouldn't be a problem unless you have poor impulse control.
According to