Unfortunately, yes, you have to wear a hat. It is an inescapable feature because the designers couldn’t make good hair back then, so they put hats in hair’s place. There are no cheats of any kind to get past wearing a hat on the original Animal Crossing.