Yes. Be aware there would be a gap between 485 denial and new H1b approval, you might have to leave US and re-enter with physical visa. But anyway, chance of I-485 denial is pretty low.