Every part of a guitar has an effect on its overall tone. Anything a string is attached to will drain energy away from it.
Let’s consider tuners. Tuning pegs are one of only a few parts that a string actually touches, so they’re very important. If we made the entire tuning peg out of silicone rubber, would the guitar sound better?