Stylized Depth of Field

A few days ago I got the idea to try and create a stylized DoF effect for my future projects. I just want to make something that’s a little different. Here are some examples, https://www.youtube.com/shorts/e3lat_ZMkME


I can’t seem to find any tutorials to do something like this in Blender or Nuke. The Z pass can be used to isolate an area but it isn’t easy to use for an animation and doesn’t seem to be that interactive. I have never used Nuke before, but I might consider giving it a try. Can anyone point me in the right direction?