Yes, they are defined by a span of years. An arbitrary span no one agrees on. Thus, Generation X not definitively 1965-1980 as you said. Even the U.S. government disagrees with that definition.
It’s anything from the late 1920s to the mid 1980s depending on who you ask.