I know that they have been used on airlines - I presume without any problems. I have used them in aircraft on the ground, but not in flight.
The risks I can think of are:
Unable to insulate the patient from the airframe - ambulance stretchers have rubber wheels.
Risk of operator contact with the patient during defibrillation.
If I recall correctly a 200J shock is about 4700 volts...