No, they are not the same background. Both criminals and charlatans have different background features and handle differently in roleplaying. Charlatans are more charismatic and closer to con men, while criminals are based more on stealth and outright robbery or blackmail.