Can you get banned for modding offline?

No, but make sure you remove all traces of mods before going into online mode .