Generally, skins won’t get you banned in Minecraft. But if you are using skins displaying inappropriate content like racism, terrorism, or nudity, then you can get reported by moderators of the servers you’ve joined and eventually get banned.