My next LED cube project will be oriented towards trying to do that.
https://www.codrey.com/electronics/the-led-photodiode-trick/
This is also in my "TODO" list, maybe with the next magicShifter revision, or possible once I get the current new design booted and refactored, a bit ..
What kind of thing would you want to make with LEDs as inputs?