Investing in DEFI projects

As-salam Alaykum waramatullahi wabarakatu

So I know that yeild farming is haram , it is based on interest.
what i want to know, is it permissible to trade ( buy & sell ) any coin in the Defi category that the platform of it offers yeild farming as an option.

No specific coin, just the idea in general of investing into a project that offer yeild farming ?