In theory, there is no limit to the number of balance transfers you can make. However, every time you apply for a balance transfer card, this will be recorded on your credit history, and providers could be more reluctant to approve applications if you’ve regularly transferred balances rather than paying them off.
Rather than transferring balances between cards, you should focus on trying to pay off the debt.