Can I file bankruptcy if I am going through a divorce?

Yes. The divorce court can still award custody, visitation, child support and alimony, but the divorce court must wait to divide marital property until the bankruptcy court gives approval.