No, you can work for a company and obtain an E2 visa. However, both you and the company must be from the treaty country.