Just as an update. I was able to take the Sony SDK and modify it to add a focus control. So I have an executable that I can invoke and pass it the desired focus position of the lens as a command line argument and it will set the focus. I can then execute a gphoto2 command that captures and downloads an image. Wrapping this with a simple Matlab script I can measure the FWHM of a star and search for best focus. It is not integrated into EKOS but it is a workable solution.