Only tangentially related but if you already have a popular Logitech webcam (like the C920) chances are you can find a kit to mount C/CS/D-mount lenses on it, like with this one: https://www.kurokesu.com/shop/C920_REWORK_KIT2 C/CS/D mounts are for CCTV camera so you can find new and used lens for cheap. They will not fix a cheap/bad sensor, but they will definitely get you extra flexibility in what kind of framing/sh…
https://github.com/Kurokesu/3d_models
The github license field says: "GPL-3.0 license"
But they look great. I am tempted to buy a Brio and their kit.