Sure, but to lend your bitcoin you have to transfer it to a lending platform, which is to say, to a trusted third party (TTP). The whole point of bitcoin is supposed to be that it does not rely on a TTP. If you're going to trust a TTP to administer your loan, you might as well trust them to keep the ledger too. As soon as you lend your bitcoin you lose all of its purported advantages, including inflation protection. All you're left with is a ridiculously high electric bill.