Yes. As a matter of fact, that's a very brief definition of surrogacy. For having someone to carry your baby, your eggs have to be fertilized in the laboratory with sperm, thereby creating an embryo that will be transferred to the womb of the woman who is going to carry your baby. If the embryo implants and everything goes as expected, that's how you can have someone else to carry your baby.
Suggested for you: What Is Surrogacy & How Does It Work? – Everything You Should Know.