Star Slate Codex (or whatever it's called now) had a good post on this but even the friendly, positive, helpful AI that chatgpt presents itself as is itself a character so it makes sense that you can make it change personas with ease.