It is necessary to avoid consuming those chocolates about which it is known by Shariah research that it contains haram ingredients. And until it is not known by Shariah research the ruling of haram may not be applicable. However, if someone takes care due to doubt then it is good.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband