The short answer is: Yes. Lower or middle back pain can be caused by heartburn or acid reflux especially chronic GERD.
Whenever I experienced heartburn the associated pain would radiate to my lower back but I never was quite sure whether my back went out due to a sudden movement I made or was it because of the food that I was eating at lunch?