In Lewis Carroll's original Alice's Adventures in Wonderland (1865) and Through the Looking-Glass (1871), there is no textual evidence of a romantic attachment between the Mad Hatter and Alice. Their interactions are defined by chaotic tea parties and a trial where the Hatter appears as a nervous witness—his demeanor is eccentric, rude, and obsessed with time, not tender or affectionate. Alice herself finds him confusing and pities his "murdering the time."
Modern reinterpretations often introduce romantic or devoted undertones:
Charles Dodgson wrote nonsense literature for children; romance—especially adult-child—is absent. The Hatter embodies logical breakdown, not desire.
In the books: No. In derivative works: Common creative choice. The distinction matters.