when you get the 797,you are in the J visa. So, theoretically, you are not qualified. But you can try with your two years work evidence. Sometimes, based on my knowledge, people get H1b with some exception. However, it may have a trouble for the next AOS.