Is it possible to use the camera from my android phone instead of my laptop camera?

https://programming.dev/post/47599899

On Windows + Android combo, if your OS has not yet implemented the native USB camera feature, you could also use Phone Link, which is included on all Windows systems. That one works without a cable as well.