It’s entirely a lifestyle choice to treat work like that, and one I constantly consider. However as a manager who gets to hear what other managers are thinking away from their employees, you are going to end up being treated like a piece of machinery.
There are some bad bosses who might do this on purpose because they feel snubbed, but even good ones who are looking out for you will eventually succumb to this. There is only so much time in the day and the human brain likes to save energy by not thinking about things that come up much. If you try to cut out all socializing with other humans at the job and just do the work, they’re gonna stop even remembering that you’re on the payroll.
This can be positive? I’ve seen a few engineers get a niche skill(frequently in some esoteric home grown software) and just work away at that for 40 years till retirement. I’ve also seen some of those same engineers cut because new management came in and wasn’t given the run down on how important they were because the old management forgot they existed.