Dear Sophie: Can I transfer my H-1B to a startup I founded?

I’d like to establish my own company while maintaining my current, secure job. Can I keep working on the H-1B, found my own company, and then have my startup sponsor me for an H-1B or another visa?