Hi ! In my opinion , once you get settled down with your stomach problem, and the ulcer has healed, there should not be any contra indication in taking dairy products or shakes. However, your treating doctor must clear you for this who may also advise you to take proton pump
inhibitor, a prokinetic agent and an antacid
gel containing mucaine
Wishing you an early recovery. Thanks.