Is it safe to use a Servo port in order to create a 3.3V tension?

I need to turn on a LED during the flight, is it safe to use PWM signal in order to obtain 3.3V?