Well, fact is, no stringed instrument is ever perfectly in tune up and down the neck. Physics is a harsh mistress.
That being said, you betcha a quality instrument will be more accurate up and down the neck than a cheap one.
I've heard of people splitting the guitar tracks into different sections and punching in on those sections with a retuned guitar, one that is tuned for "those certain chords".
I've never done the like, but I painstakingly tune my guitars before tracking. I let them adjust to room temp on the stand out of the case for at least 1/2 hour before tuning. And then I'll do several takes of whatever, and tune again. I stretch my strings the day before so they won't slip or stretch anymore. And so on...
But we as humans "get used to" certain things. We are used to hearing guitars out of tune ALL the time because that is normal. Only when they are a little too far out do we notice. Just like when Bach switched us over from the old tuning method to Equal Temperament. People complained back then that the new way was out of tune, but we don't complain about it because we've heard it all our lives.