Humidity seems to have very little impact, it's air pressure and temperature that mainly affect the drag and hence amplitude. More pressure and lower temp = air denser. There is also a small viscosity affect, which gets higher with temperature.
Some very successful clocks have been made with aneroid compensators which work very well. Or you can take the Harrisonian approach and get a balance between escapement and circular deviation so changes in amplitude with pressure compensate for buoyancy changes.
The affect of changing impulse on period depends on where it is – if the centre of the impulse is after BDC a larger impulse slows the pendulum down; if before it speeds it up. Ideally the impulse is centred on BDC when it doesn't change timing.
If you did use a pulsed light source to avoid ambient effects, it would be better to use a "synchronous rectifier" to detect the signal rather than a PLL.
Just as a benchmark, Doug Bateman's electronically maintained clock uses an opto sensor to keep the amplitude stable to within a second of arc – described in Horological Journal Jan 1972. It is also fitted with an aneroid compensator and in a later article (October 75) he describes its performance with this which seems to reduce the error due to pressure variations by a factor of 10.