There's a lot of truth to that, yes.
I was a kid when the show came out; I am a New England native (born Vermont, grew up in NE Massachusetts) and at that time I had never heard southern accents, or words/terms like "ain't" and "y'all." Naturally I started to glamorize the South in my mind with Hazzard as the basis (kid thing, we've all been there).
Since then I've lived in 6 states including 7 years in Louisiana where I married into the culture. Although I would enjoy visiting Covington (had no idea until WELL into adulthood about the place) Hazzard is, more than anything, a place inside us, a place of extreme decency despite the best efforts of the "Law" and local "Leader."