Yes, of course, as an author, it's important to know when to give importance to others, not just the protagonist. It's something that can greatly enrich a story, to see what their background is, their way of thinking, how they interact when the protagonist isn't around. It can easily make for very interesting and also fun chapters to write.
That said, if you've built your story around a central protagonist and they are the foundation of the entire story, remember to focus on them primarily.
That doesn't mean you never have chapters with other characters, just try to make them the minority of the chapters, use them only when absolutely necessary, when they are needed for something important to make sense or to show the change or advancement of that other character.
But let readers know that the other chapters will still have the main character as the center of attention. If there's one thing readers don't like, it's when the protagonist isn't the protagonist of their own story.
Basically, don't do it like the Isekai of the slime where every secondary character has their own separate novel at the same time that nothing happens because it's just filled with side stories.