Putting your assets in someone else’s name to keep them beyond the reach of creditors and bankruptcy trustees is not allowed.  Worse, such action may lead to the denial of your discharge.
A bankruptcy trustee can recover assets transferred within one year of the bankruptcy filing where the debtor did not get reasonably equivalent value for the asset, or where the transfer was made with intent to hinder creditors.  The “look back” period may be even longer under some circumstances, giving the trustee that same time period to recover assets.
If you have more assets than you can protect with the available exemptions, consider filing Chapter 13 where the debtor generally keeps all of their property and “buys back” the nonexempt value from the creditors through payments to the Chapter 13 trustee out of future income.
Even an innocent transfer without consideration can cause serious trouble.