iPhone cameras aren't particularly great. They're good, but the thing that makes iPhone pictures really good is the iPhone's computational photography software. If webcams started including powerful CPUs, GPUs, AI chips, and OSs that can turn average pictures in to amazing pictures then webcams would be good. They'd also be quite a lot more expensive.