I have friends 20 years older than me and some 20 years younger (I’m 40). Good people are good people and assholes are assholes, regardless of age. If you can find common ground with someone and they are generally of the former variety, I see no reason why you can’t have a good friendship.