The timing for purchasing or financing a vehicle depends on your specific bankruptcy status:

: Taking on new debt while a case is active generally requires approval from your bankruptcy trustee . What to Expect with Financing

Yes, you can buy a car after filing for bankruptcy, though the timing and process depend on which chapter you filed. While your options may be limited initially, many lenders specialize in "bankruptcy car loans".