Theoretically, you can. However, when you transfer your H-1b from a company you never work for, you take the risk that NIS may have question.