Can I switch after been selected in H1-B lottery but before approval

My H1b application was selected in the lottery process. I would like to know if I could switch jobs before my H1B approval? The HR at the new company said the lawyers would be able to transfer the H1B before approval