LDR is a bad choice their reaction time is relatively slow so they are not good beyond low audio frequencies. A photodiode or phototransistor is good to hundreds of KHz and PIN devices up to several GHz!
The principle certainly works but most people opt for laser diodes rather than normal LEDs because they don't need complicated focussing optics.