Yes, it is common for meal moths to infest chocolates or nut bearing candies. That is one of the reasons there is a shelf life on packages.
Years ago I ran a small drug store and the chocolates in the candy aisle bacame infested with meal moth. When you shop and see those little moths flitting around a store...there's an infestation somewhere. After the discovery and initial disposal of all the candy(15ft. section) I would go over and randomly open candy bars to check the candy. There are still some candies I won't purchase because they are prone to being infested.