If you can pull out a very regulated 5 volts to feed them then I wouldnt see why not...
If it is for a LED, it isnt going to be very satisfactory, because it wont be very bright. I would add a transistor to the output to get some more milliamps to it.