No. Hacking Minecraft offline will not get your account banned (assuming its not linked to steam).
Using hacks online will also not get you banned from Minecraft. it may get your banned from servers. Most servers are not owned by Minecraft. They are owned by individuals, like you and I