No it's not. And the other options are worse.
I lived in Indonesia for a while and still visit regularly - WingNut is right, the options are worse.
The train
might be safer but not practical for inter-island travel, the other options are definitely worse.
At least when you fly you're only scared for an hour or two - long distance bus, auto, and boat rides keep you in terror for much longer.