No, you don't have some Nuke's ZDefocus like in Fusion...
You may find your WF with some kind of workaround you feel comfortable with, or play with one of the 5 to 8 (I didn't count

) types of blur nodes, like Variblur etc., or mimic what you find in the Hardware Renderer Accumulation effects' DOF, but I think you look for something auto like Nuke's one,
You may also play with the DepthMap btw...
*MacMini M1 16 Go - Sonoma - Ext nvme SSDs on TB3 - 14 To HD in 2 x 4 disks USB3 towers
*Legacy MacPro 8core Xeons, 32 Go ram, 2 x gtx 980 ti, 3SSDs including RAID
*Resolve Studio everywhere, Fusion Studio too
*https://www.buymeacoffee.com/videorhin