Can I have my employer to file for H-1B visa after completing my OPT in December?

I will be graduating in December this year. I already have an employer to hire me in January. Can I work in my OPT with that employer and then have the employer file for the H-1B at the end on the OPT in december?