There is almost no form of investment, lending inclusive that cannot exist on smart contract. There are projects that have successfully deployed their technology on smart contract, which is one of the benefits that is obtained therein. Although, you would need to check through every terms and conditions of lending on blockchain technology.