Yes, you can work from home on H1B if your job permits. However you need have your LCA updated with your home address as work location. And also may be you need to have your H1b Ammended with that update. Consult your attorney for more clarification.