No, at least not officially. Paternity leave wasn't first legislated for in Spain until 1980, when fathers were given two days' leave. In 1989, this was extended to four days and in 2007 to 15 days.
Paternity leave was introduced in the 1970s in Scandinavian countries. Also, there was a groundbreaking case in New York in 1973 when:
the EEOC [Equal Employment Opportunity Commission] “found that the mothers-only rule ‘discriminates against male teachers as a class.’ As a result, the board says it will reword its bylaws to ensure equal rights for fathers.” That autumn, the relevant section of the Board of Ed bylaws was amended so that it no longer referred to an affected teacher as “her” or relied on the timing of the teacher’s pregnancy, thus expanding its relevancy to fathers and to adoptive parents. The determination is widely regarded as the groundbreaking first step toward paternity leave’s existence.
In Spain, men had very little opportunity for paternity leave until 2007:
The first paternity law reforms came in 2007 via the Spanish Law on Gender Equality which introduced a non-transferable, two-week paternity leave with a 100% wage compensation, followed by other expansions, adjustments and improvements over the years.
Note that even maternity leave was uncommon before the 20th century. Switzerland seems to have been the first country by some distance when
The Swiss Factory Act of 1877 provided an 8-week ‘rest period’ for mothers, six of which had to follow birth.
In Spain, maternity leave wasn't introduced by the government until 1900, when three weeks of leave was granted.