I was looking into ways to do exactly that just a little bit ago. An absolutely amazing project that does exactly what you are talking about I have linked below. This has everything you need to create a remotely controlled aperture and focus HQ Raspberry Pi camera.
4 Likes