It is not illegal for companies to borrow money from individuals. As long as the lending behavior is the true intention of the parties, the parties have corresponding civil capacity, and the behavior does not violate the law or public order and good customs, it is legal and effective.
Legal objectivity:
Article 37 of the Constitution of People's Republic of China (PRC) * * * The personal freedom of the people of China and the citizens of China shall be inviolable. No citizen shall be arrested unless approved or decided by the people's procuratorate or decided by the people's court, and shall be executed by the public security organ. It is forbidden to illegally detain or deprive or restrict citizens' personal freedom by other means, and it is forbidden to illegally search citizens' bodies.