Yes, mating within a population is random. However, it is
possible for non random mating to occur within a population.
View page
Assortative mating.
Hardy-Weinberg condition, which are never met in the wild, posit
random mating. We know that sexual selection does not tolerate
random mating and female choice is a great driver of selective
change in most organisms.