Personally, I feel like I can sleep much better without the extra buzz. This includes coffee and chocolate.
Interesting article for further reading (though for some reason, it does not mention chocolate): https://www.theguardian.com/food/2021/j ... to-give-up