Modafinil is only a Schedule IV controlled substance so it's usually possible to find a doctor who will prescribe off label if you want it. (This isn't medical advice.)