You can swear on Overwatch voice chat; just don't say anything reportable like offensive language, insults, etc. Blizzard tries its best to provide a safer environment to their gamers.