What country do you live in?
For example in Australia you could go here to learn filmography:
https://www.aftrs.edu.au/course-types/short-courses/
There may be something similar in your country.
Mastering photography and a camera is only one of many ingredients that make someone good at producing good porn though. A natural eye is often referred to when talking about good producers, meaning they know what works well and how to set those scenes up.
One thing though: the number of people who want to shoot porn far exceed the number of people who can shoot porn and the number of people who can shoot porn far exceeds by an order of magnitude the number of people who make a living shooting porn.