Yes--in fact, the company filing for bankruptcy can itself still collect on any accounts which it had, since bankruptcy affects debts owed *by* a company (or person), not debts owed to it; filing for bankruptcy has no effect on the ability to collect amounts owed to a person or company. Or if the debt was sold or assigned to another person or company, the assignee (the one who acquired the debt) could collect on it.