Yes.  In a Chapter 13 or Chapter 11 case, you can provide for catching up on past due rent over a period of time (typically 36-60 months in Chapter 13, and potentially longer in Chapter 11).