Can you connect LED'S through a computer's headphone jack?

I have never tried it, so it is possible. It does provide electrical power. However it would depend on the LED.