Of course, any light can be converted to energy, in fact it already IS energy. Probably what you mean, can any light be converted to electronic energy that you can use to power an electronic gadget. That being the case, any light can be converted to conventional electronic energy, the problem is that the converters are pretty inefficient. Most of the available energy in the light is simply converted to heat (energy, but useless), only a fraction of it is converted to usable electronic energy, even the best photo cells that we want to line our roofs with so we can charge batteries converts maybe 10 or 20% of the available energy to stuff that we can store in a battery, and photo cells are really efficient!
Think about this: astronomers use devices that convert all forms of light to electronic signals that they digitize and analyze.
So, the quick answer is, yes. The practical answer is, not very efficiently.
Hope that helps
Ron