However, gambling, lending, and some kinds of trading with cryptocurrency are almost certainly forbidden.
Then don't gamble, lend and trade for profit.
It's hard for me to believe that all those rich Muslims who bathe in oil money don't ever invest in stocks or trade fiat currencies. They do and they don't think it's something against their religion.
Also, many things are forbidden in many religions and people still do them and later pray a bit, apologize, confess and keep on living. Rules are made by people and people can break them.