I had to do a graft and it wasn’t especially painful. I got painkillers but only used them on the first day.
The recovery period sucked, I needed antibiotics and couldn’t eat anything solid for two weeks.
If you can behaviourally prevent needing gum grafts you should.