In general people with PID can have cosmetic surgery but it’s best to ask your doctor what he advises. As with all operations there’s a risk with infection and your doctor will know what threat these risks are for your condition. Don’t forget to thoroughly research your cosmetic surgeon and their track record.