Yes. In fact, that's what gestational surrogacy is all about: the surrogate is just a gestational carrier, that is, she just carries the pregnancy until birth. You can use your eggs as well as the sperm of the intended father thanks to IVF.
Suggested for you: What Is IVF Surrogacy? – Process, Success Rates & Cost.