Hi Yves and welcome to the community forum…
I’m sure you are on the right track, it’s just finding a suitable cable and getting one end to fix to both the camera and the phone contacts, good luck with that. ![]()
Depending upon the experiment you may find it easier to use an external camera, Gopro for example, connected by wifi.