Using Halide or similar with RAW substantially improves your control.
"Real digital cameras" also have computational photography a.k.a. sharpening, auto exposure and auto white balance.
"real photographers" set up their camera with the settings they prefer and develop in post. i'm deliberately using quotes there as photo journalists have been forced to do certain things that would go against the norms as mandates have come down upon them. These mandates are meant to ensure claims about mainipulation in post has a little ground to stand on, but the people making those mandates don't understand what they are mandating with their PHB directives.
Part of that developing is taking 10x the number of actual photos you want so you can delete the ones that're overexposed or too blurry. And you have to deal with all the data of keeping uncompressed RAWs around.
https://www.newyorker.com/culture/infinite-scroll/have-iphon...
You're right though that this isn't a "perfect example of computational depth of field" as the background leaf looks far enough away where you could have achieved the effect optically on iPhone sensor with right aperature. That being said the blurring does look unnatural to me as it is not even across the background leaf despite similar distance from lens. It's not clear cut though.
Example here: https://imgur.com/a/cPG3YSP
Is this correct? From what I've shot in macro on my DSLR, the blur is natural because the focus plane is so thin. I realize the phone has a much smaller sensor, but is the blur in macro mode computational? I thought that effect was only applied in portrait mode shots.