Yep, I agree at least partially...these are things that are the icing on the cake...using a really bad cable does have a clear impact, the longer it is the bigger too. But, much like in speaker cables, I don't buy into any 'super great' cables...just good ones are good enough. And in the end, no matter what you do to your pots, caps and cable, stick a regular Boss pedal in there, and any benefits of those are gone.
Any pedal, buffer, circuit or using a wireless device also affects the sound clearly. But both are the type of thing that can be compensated for somewhat by just adding some EQ. If wireless is good enough for Angus it's good enough for me (although I don't own a wireless, no need.)
But pedals by and large are what changes the sound most, though, regardless of being on or off or so called true bypass...by far the greatest improvement in overall signal quality and thereby tone for me came when I started using a pedal switcher instead of just queuing them.
Pots & caps...yes they make a difference, probably much more so in passive guitars. I don't use tone controls by and large and might as well just rip them all off and have just a volume there. Used to have a volume pedal, at which time my main axe didn't even have that
In active guitars the differences with these seem very small, but the ones with just the volume maybe are ever so slightly more lively sounding than the rest. Although it's hard to tell, because those are very simple 1-pickup, & lively sounding guitars acoustically too.
But, yeah, especially if you go direct to amp, it is a good idea to make sure you have decent pots & caps and also try not to use just any lousy cable you find but get a good quality instrument cable.