In my language it is called inner quitting and there are studies about it by psychologists specialized in work dynamics. It was diagnosed very often in people in public administration.
Not the same as quitting of course and seen in contrast to someone that tries to do a good job, not necessarily being a workaholic either. But there certainly are jobs where this is just normal operation.
aka just doing your job. That is, in absolutely no way at all, the same as quitting.