I have just one word for you: variance. So I think that is not the greatest idea. I think we all would be millionaires already if that would work
Martingale strategy doesn't work in blackjack and it won't work in poker either. Sounds great on paper but in the end you probably end up losing more than winning and that downswing will eventually happen when you lose your whole bankroll. Try to focus on learning and play something where you can actually make money by playing well, cash games for example. And always play according to your bankroll so that you can easily have a long downswing without going broke. Good luck!