Yeah!
Fullstack vs Frontend/Backend is a great example.
It's nice to have a mix of deep knowledge, along with others that are flexible when frontend/backend ebbs and flows.
Fullstack engineers can be great for throwing together POCs, unpacking tightly coupled UIs with APIs, etc.
Frontend or Backend can have much deeper experience in their domains and in areas like design, accessibility, or devops, infra, cloud.
Teams with both can work well for most teams.
And for specialists, it can be good to have a more technical Frontend Engineer, a more designer-focused Frontend Engineer, etc. Specialization doesn't stop at Frontend versus Fullstack.