There are many private companies that operate under this model, and they’re usually small to medium sized (<250 people). The success of these companies often depends on their area of expertise and leadership.
Unfortunately what is a “specialization” these days that broadly applicable enough that it isn’t a commodity? Front end? back end? Mobile? “DevOps” [sic]? AWS?