In a previous job I was team lead of a team that had a person in they're 40s and one in their 50s, I started as lead as a 23 year old and moved on when I was 30. There are many things I'd do differently now, but it was an effective and impactful mostly high functioning team. It does happen.