In principle the answer is no. Amenorrhea (absence of menstruation for 6 months) is the result of a lack of ovulation, a process by which the egg is just prepared biologically to be fertilized and is released from the ovary through a process of follicular rupture.
If the egg does not undergo the process of ovulation, it will not leave the ovary and therefore cannot be fertilized, since the fertilization of the egg by the sperm occurs at the level of the Fallopian tube.
The release of the egg from the ovary produces cellular changes at this level that will cause a series of hormones to be secreted, which will lead, 14 days later, to menstruation. Therefore, if there is no ovulation, there will be no pregnancy and no menstruation.
Even so, we must be very careful with this statement, because when amenorrhea is secondary to a reversible noxa, this state of anovulation can be resolved at any time. In these cases, the woman will not be aware that she has ovulated until 14 days later when her menstruation startes. So a patient with amenorrhea who does not want to become pregnant should take the necessary precautions to avoid it since we do not know when this state can be reversed.