Is it possible to point/follow to something with lightbeam sensors?

Its a critical question since I have a project detect occlusion event with lightbeam sensor,
so it would be great if lightbeam sensor could point to something moving and keep tracking it down by using action graph or python scripts.