No. Acne is caused by oil glands in a person’s skin over-producing an oil called sebum, which is what the body naturally uses to keep skin lubricated. If this excess oil, along with dead skin cells, blocks your pores, then your skin can become irritated and a pimple may form. While the causes of excess sebum production are not definitively established, there is no reason to think that chocolate or fried foods are at fault.
A common myth is that eating some foods, such as chocolate, causes acne. Pimples are actually caused by a build up of sebum, but why this happens is not clearly understood.