As long as the whole process does not violate national regulations, it will not involve illegal acts.
Legal basis: Article 225 Whoever, in violation of State regulations, commits any of the following illegal business operations, thus disrupting market order, if the circumstances are serious, shall be sentenced to fixed-term imprisonment of not more than five years or criminal detention and shall also, or shall only, be fined not less than one time but not more than five times the illegal gains, if the circumstances are especially serious, shall be sentenced to fixed-term imprisonment of not less than five years; Shall also be fined not less than one time but not more than five times the illegal gains or confiscate property: (1) Dealing in securities, futures and insurance business without the approval of the relevant competent department of the State; (2) Dealing in import and export licenses, certificates of origin for import and export and other business licenses or approval documents provided by laws and administrative regulations; Or illegally engaging in fund payment and settlement business (4) Other illegal business acts that seriously disrupt market order.