Yes. A console banned from Xbox Live retains full offline functionality. The ban is a service-level restriction, not a hardware kill switch.
Summary: Ban = Online dead. Offline = Alive (for now). If you modded, you accepted this trade-off.