Could esophageal dilation with upper endoscopy cause pericarditis?

Unlikely. Based on a literature (pubmed) and google search, I could not find any cases of esophageal dilation causing percarditis. Are you having symptoms of chest pain after dilation? If you are concerned about pericarditis, you should discuss this with your doctor or go to the ER if it is severe.