Sure, and Apple very successfully competed with Intel when it came to chip design.
With fabs, other companies can still compete, but you absolutely require a partner with deep pockets to place big orders, since the costs have grown exponentially.