Yes, irradiation can be an effective method for controlling contamination in both raw cocoa beans and finished chocolate products, helping to extend their shelf life and improve safety.