If you're in debt, you need to pay off your highest-interest creditor first, and then on to the next one. When you have spare money, you can hedge bets on investing it.
But, Bitcoin is not an investment.
First, nothing you don't understand is ever an investment for you. If you don't know mining and I do, I'm investing by buying shares in a mine whereas you're gambling by doing it. (For instance, if you don't know, and really understand, why bitcoin tends to be used in a manner where you empty the balance from one address, sending some to the intended recipient, and the leftovers to yourself at a new address, then you're not ready to invest.)
Second, it functions as a store of wealth not capital. Its gains are partly from other currencies devaluing around it, not it being used to create more goods the way buying a piece of capital (shares in a manufacturing company) would.
That said, if you do any gambling (lottery tickets) you might as well put that into bitcoin, you at least might get something back.