I would agree with Apple that the camera is “Pro” meaning the photos are professional level to my eye. I think it could replace a professional camera IMO
In perfect lighting where the focal length range is appropriate to what you're doing, sure it can give perfectly passable results.
I couldn't have taken either of the below photos with an iPhone. The first is from a few years ago, the second from last weekend. Neither is an outstanding example, but still there are technical aspects to these that are simply not possible on an iPhone camera. Since you're claiming it "as good as a pro" camera, I'll let you figure out what I'm talking about(BTW, the first was taken with a Nikon D600, the second a Nikon Df-neither is technically what Nikon classes as a "pro" camera).