Absolutely yes, especially in the case of same-sex couples and single women who decide to collaborate with a male friend or brother (i.e. known sperm donor). Sperm donor agreements are intended for those who do not use a sperm bank as intermediary.
The purpose of this type of contract is to make sure the donor is not the legal parent despite being the biological father of the child.
Suggested for you: Baby Options for Lesbian Couples with Donor Sperm.