Yes it is gambling, but all of life is a gamble.
Other gambling activity- Choosing a spouse, choosing where to live, a college, a job, starting a business, driving a car, flying in a plane etc.
The birth process itself is all one big gamble- which sperm cell will mate with which egg and...