This remote employment stuff is tough because immigration law and policy haven't caught up with it. The short answer is that it might be okay but this is the kind of question that you should explore in detail with an attorney because of the implications of working without authorization.