My just turned 2 year old has a pretty good diet and sleeps reasonably well (although previously terrible). I never buy her chocolate, however when she has had chocolate (e.g birthday cake, nan has given a chocolate biscuit or yesterday she ate a chocolate topped rice cake that has been left on table) her sleep is awful and awake all night. My husband thinks it's a coincidence but genuinly its every time. I remember because she so rarely has chocolate and usually sleeps well.
Nothing on Google suggests a link either?