Of course. It’s nice to think that you, as the author, know how best to write your character and story, but we have editors for a reason. Though you might initially disagree, it is generally worth your time to give serious thought to the issues your editor raises, because that’s what they are there for. Their job is to make your book the best it can be, and professional editors are generally very good at their job.
To give an example from early in my career, I argued with my editor about Lightsong. He and I disagreed on some of the humor. Oddly, we were both right. He was claiming Lightsong wasn’t funny. What he meant was that I was allowing the humor to undermine setting. We came to a balance, and I think that Lightsong is much better for it.