My stomach starts hurting reading your story! I’ve been d there and occasionally get flare ups.
Did you have MRCP?
I had 2 ERCPs after my gallbladder surgery, with widening of the opening.
Elevated LFTs was not really a criteria then. If needed, try to get a blood draw in the middle of an attack. It shouldn’t be necessary though.
With the weight loss and frequent pain it sounds like a good idea to switch doctors.