Yes. You can apply I140 first and apply I485 anytime after you received your I140 receipt. I know many people doing that.