Do I lose my tax refunds in a bankruptcy?

Yes, for specific timeframes.

Tax refunds you are entitled to receive for the year of bankruptcy and any years prior to bankruptcy (if you haven't already received them) are paid directly to the bankrupt estate