If you have other sources of funding (or wish to invest more than the required amount for EB-5 purposes, you can operate the business. Be careful of the timelines for job creation. Consult an EB-5 attorney to review the details of your proposed process.
You cannot work or operate a business in the U.S. while under a H-4 status. By consulting with an EB-5 attorney you can determine alternative legal ways of working in the U.S. as soon as possible especially before the decision is made on the I-526 petition filed.