Hi and welcome to HCM.
it is acceptable and there is no any contraindication for it and it is much easier for heim to have general anashesia. gilberts is usually disorder that is only mildly affecting liver enzymes and this is not problematic for surgery at all unless there is serious liver damage
which is rarely seen. so just follow doctors recommendations and dont worry.
Thanks for the query. Regards