It can. So can gallstones or gallbladder problems. But, they ultrasounded your gallbladder, and they would have showed up, as they light up on an ultrasound. It could be a slow emptying gallbladder and that won't show up on an ultrasound, but a HIDA scan will tell you. They look for something called the Ejection Fraction rate, and if it's below 35, it means your gallbladder isn't emptying fast enough and they recommend removal, at least in the US, which seems to have a very high gallbladder removal rate. If it's slow empyting, it's libel to start building up stones or sludge that will eventually turn to stones.
But, the Gaviscon and Prilosec are fairly safe bets, not too hard on the body, and cheap, so I'd give them a try first. They say that all PPI's are the same, but I found that certain ones work better for me, and most people tend to find that as well. But, the literature says/conventional wisdom is that any PPI is the same as any other PPI, unless you're a Native American, in that case, Nexium will work better, since they cut off the half of the Prilosec molecule that wasn't effective and also doubled the dose. Hah, Nexium will work better than Prilosec just because it's a double dose, let alone the splitting of the molecule part!
Anyway, now that Prilosec and Prevacid are over the counter, they're pretty cheap, so to speak. Aciphex always worked best for me, but was really expensive, even with my insurance plan.
Also, you can take a double dose of Prilosec OTC a day. If you go to a doc, that's their common perscription is to double up until it starts to resolve, then go to 1 pill a day.
Beware that long term dosage can cause a problem with uptake of B vitamins, so take a suplement if you're on it for more than say 6 months.