Given my limited understanding of photography that is not really possible with small sensor sizes. Phones can achieve that using computational photography, but I don't think it's possible using optics on webcams.
Yes, optical depth-of-field is only possible with reasonably big sensor sizes and wide-open lens.
Reportedly, Huawei P40 Pro has an IMX700 sensor with the 1/1.33" diagonal. I didn't run the numbers for it, but it is big enough that with a bright lens it will produce bokeh.