Can you have gastric bypass if you have atrial fribulation?

Yes. The presence of atrial fibrillation is not a contraindication for gastric bypass surgery, but you will need a full cardiac and pulmonary evaluation before surgery will be scheduled.
Yes. Chronic a fib. Can be addressed with anti coagulation which does not affect the surgery or the outcome.