Hello Tiptree and welcome to the forum
There is nothing to stop you applying for bankruptcy if you have gambling debts. It is actually pretty common. The Court will not bar your application or anything like that. Once you are bankrupt you will have to have an interview with the Official Receiver. If you have been a serious gambler and most of your debt is due to gambling then they do have the power to extend your bankruptcy with a Restrictions Order
. However this is rare if only a small amount of your debt is from gambling like yours.
Have you stopped gambling now? If not or you are worried about not being able to stop I would recommend speaking to either Gambler Annonymous or Gamcare. It will help on your application if you can say you are doing this.
Discharged from bankruptcy in 2010 and still debt free
Thanks to all on this forum for your advice and support.