I used the TRYONE flexible telephone arm, it costs 15 euros on Amazon (it is probably compatible with all similar versions). In this case I created a support for the webcam but the possibilities are unlimited, in fact by using the piece that attaches to the arm ball it is possible to create any attachment to mount an infinite variety of objects.
To disassemble the webcam I followed the following tutorial: