If it bothers, no
If you've noticed that coffee (decaf or full octane) aggravates your heartburn
, you have opportunity to stop doing something that causes you discomfort.
You "can" have it because at age 30 you're in charge of what passes your lips. You're also in charge of moving towards better health and well-being, if you want to.