Yes, flirting can be considered a form of chatting.
Flirting, at its core, involves conversation. As the provided reference states, "flirting is just a conversation — a warm, funny, and ostensibly enjoyable one when done properly." It's a specialized type of interaction aimed at expressing interest, building rapport, and creating a connection with someone. While not all chatting constitutes flirting, flirting invariably includes a conversational element. The difference lies in the intent and the nature of the conversation, which in flirting includes playful banter, subtle innuendo, and suggestive language designed to signal romantic or sexual interest.
Therefore, while "chatting" is a broad term encompassing various types of conversations, "flirting" is a more specific form characterized by its playful and suggestive nature.