Yes, it is in our genes and part of the human evolution.
The instinct to mate with as many female possible is a simple way
to ensure that he is able to pass on his genes before he
died.
Man have evolve to have a hard on every morning because of the life
style the human have back in stone age. The man must go out and
hunt food for the colony and he is verly likely to become food for
other animal as well.
So evolution makes him wake up every morning with a hard on and in
the mood to mate, after that he can go out in the wild and die
knowing his gene has been pass on.
Even until now the product of evolution still stay with us, we wake
up with a hard on and wish to score with as many women as
possible.