Only if the amounts being borrowed and loaned are exactly the same.
I.e 20% on $100 is less than 10% on $1000
Like a sibling comment you are not accounting for the profit that comes from the collateral.
Maybe a nondefi example would help. Imagine if a landlord got a loan using a rental property as collateral. In this example the lender will now get the payments of rent. Now the lender makes money from both the interest rate on the loan and from the renters of the property. Depending on the demand for the rental property the amount of rent you may collect can fluctuate. This means that some months you may make more money than others. So in order to sustain a certain level of profits the amount of rent you collect will need to be worth a certain amount.
[0]: https://www.investopedia.com/terms/r/rehypothecation.asp
If I make £3000 in interest from borrowers on a set of money and give away £5000 in interest to depositors of those same funds, even before I account for the costs of operations (systems don't develop and run themselves) I'm making a loss.
You seem to be suggestion luring people in with a high rate and then dropping it later. That only really works if there's some kind of lock-up to prevent all your depositors fleeing as soon as you lower the rates again.
If you lock-up funds, generally you have to guarantee the rates for the period of the lock-up otherwise that's a bait-and-switch, which is generally going to get you into legal problems :)