I have done this. Had a job once with a major multi-national company in which I had no direct boss. Was not some kind of top executive, I just happened to fall out of the matrix where I was totally on my own. Loved it.
It is easy to get lost in the noise in a gigantic organization. Nobody knew who I was or why I was there or what I was supposed to be doing.
This was before COVID. Everyone was expected to be at work.
But yes, I would show up for a couple of hours and make sure I was seen by lots of people and then I would go home, drink, and play on the computer every day. You had to card-in but there was no card needed to leave. So I had a record of being there. It lasted for about six months until my ideas started to become popular, I became a kind of leader and had to attend and lead meetings and such.
It was really cool while it lasted. Can relate to this article.