The inherent risk of borrowing against your bitcoin is done with a centralized exchange. I used Nexo last cycle. You deposit your bitcoin and are able to put it up as collateral at a certain rate predetermined by them.
You can then buy more bitcoin. I like to withdraw that bitcoin for safety purposes. The bitcoin you use as collateral is locked up. But as the price in dollars in reuses it becomes possible to pay off you dollar denominated debt to get your initial investment back.
And this is only done if you know where you are in the cycle. So that you don't get liquidated. Because this is how you play margin. You don't want to get margin called and lose money.