Yes, Lending a loan without a license is Illegal. Because the money does not get in the tax pool of the country.