It's highly unlikely you'll get banned from Xbox Live for using custom maps in Minecraft: Bedrock Edition. Here's why:
Using custom maps is generally safe—just practice common sense and stick to trustworthy sources.