This thought that scorsese is trying to make gangsters and criminals out to be the good guys is in the same vein of believing video games cause real-life violence. Just silliness and nothing more.
If you're frightened of dying, and you're holding on, you'll see devils tearing your life away. But if you've made your peace, then the devils are really angels, freeing you from the Earth.