Yes, it is plugged in most of the time. If I purposefully ran it on battery when a charger was available, batteries would last only 2 years or maybe even less. Batteries last only for a given, although highly variable, number of cycles (keeping the battery half-full does increase the number of discharge cycles before the battery dies, as well as some other measures such as avoiding hot temperatures, slow charging, etc.), so putting on extra cycles aiming to make the battery last longer will have the opposite of the intended effect.
Unless your computer is a toy which you use only once a week, then you can unplug it during your weekly use session and leave the battery half-full, not plugged in to power, until next week; unfortunately mine needs to be used every day. Good thing this is easily remedied by the battery management feature which is unfortunately quite a few years too late (BTW, this feature existed in the PC space, at least for certain manufacturers, for many years).
12 V car batteries are lead-acid, about the only thing in common with a Li-Ion battery is that they're both called a battery. There's simply no way they can last long given the chemistry and the load profile (cranking up an engine is about the worst load you could conjure up for a battery). This is a fact, and before you ask, I won't bother digging up "The Science", I have read up on it and I know that it is out there for those who bother to look it up.
A better comparison is to EV batteries: would you buy an EV if its batteries only lasted for 5 years? Don't tell me there is a difference between EVs and MacBook Pros, the only difference is that EV automakers were forced to think about battery lifespan management from the start, exactly because the market wouldn't take too kindly to 5-year battery replacements. The minute Apple switched to internal, non-user-replaceable batteries, they should have done the same if they really cared about their users (especially since a 7-year old computer is considered vintage and will be refused service at Apple stores or AASPs, leaving you to use Chinese junk of dubious precedence, which may explode and set you/your house on fire.)