That's a bit tricky and would largely depend on the exact circumstances, but it is possible. The situation could go one of several ways, and unless it was a significant amount, I wouldn't stress too much about it, but essentially if a business which was formerly a Pty Ltd company was sold, the profit from that sale should be reported on the ITR of the Company for the respective year. I foresee two possible situations:
1. If a person were to simply withdraw the funds from the bank account as though they were never there and not report the income on the ITR....thats an issue and would see the director in quite a lot of trouble if found out by the ATO.
2. If the profit was reported but the CGT debt wasn't paid, that is less of an issue, but essentially the debt could be brought back to the director since the ATO wouldn't just accept the excuse that 'oh, no money left, oh well...'. They would want to trace the funds and if the director was found to have just pocketed all the profit, then proceedings would likely commence against that director. Further, it wouldn't be a 'debt' per se, it would be more of a penalty. The Company has a debt, but the director would be penalised for pocketing the money and leaving the Company with the debt, bankruptcy is unlikely to affect the liability for such a debt.
If the director were to incur a debt, that means the director made a profit and therefore there may also be issues with being bankrupt and failing to declare the profit from the sale of the business, if that is the case.
There really is a myriad of ways the situation could go and in my experience the ATO isn't quick, but they rarely miss an opportunity to go hunting for money owed.