Many people file I-140 and I-485 under NIW when they are in F-1 status. I know that some of them are denied but they are able to contunue study. But It can be hard to obtain OPT after graduation.