Absolutely yes. According to Law 14/2006, everyone can have fertility treatment in Spain, regardless of their marital status. In this case, using donor sperm is required.