Plenty of ways.
The answers below are fine if you limit yourself to conventional financing. But there are lots of other ways: Lease-purchase, lease-option, contract for deed, Subject To, land contract, use of a land trust (with you as the resident beneficiary), and seller financing.
Most of those get you into a property, and give you time to improve your credit (and build up that time from date of bankruptcy) before you go out and get traditional financing. With "Subject To," you actually acquire ownership immediately.
Hope that helps.