Yes, peptic ulcers can cause chest pain, especially if the ulcer is located in the upper part of the stomach. The pain may be described as burning or gnawing and can sometimes be confused with heart-related chest pain. Seeking medical attention to differentiate between gastrointestinal and cardiac causes is crucial if chest pain is a symptom.