Even though curses can be played at any time, you'll have to honor the die roll before doing anything else. So yes, you can Curse before rolling the die, but not between the die roll and the monster's Bad Stuff/your escape. After that, you can resume Cursing as normal.