Other contributors have said "Does the mad hatter die in alice and wonderland?" is the same question as "Does the Mad Hatter die in Alice in Wonderland?" If you believe that these are not asking the same thing and should be answered differently, click here
It is unclear as to whether or not the Mad Hatter from Alice in Wonderland was designed as a character to represent any metaphorical idea. However, it is well regarded that the character was based on...
There is no evidence in Lewis Carroll's books to suggest that the Hatter is an alien, so the answer is no. (Of course, maybe the Hatter knows something that Lewis Carroll doesn't) ;)