I read (and then quickly stopped reading) a book with exactly that problem. Every character except the protagonist and her love interest was a meat puppet put on earth only to annoy or obstruct the protagonist. In a close-third-person story, that just makes me think the protagonist is a selfish social idiot who can’t grasp that other people have their own motivations.

And on the other hand, my favorite books are full of 3D characters who could be (and in their own minds, I’m sure ARE) the protagonists of their own stories.