No. But let’s explore why that’s true. It’s not just liturgy police making arbitrary rules. It’s about why we attend Mass on Sunday. As the Catechism of the Catholic Church explains, the first precept of the church states: “You shall attend Mass on Sundays and holy days of obligation.”
Canon law further explores this precept: “Sunday is the day on which the paschal mystery is celebrated in light of the apostolic tradition and is to be observed as the foremost holy day of obligation in the universal church.” Reflect on that for a minute: Sunday is the biggest holy day of the church! The church fathers called every Sunday a “little Easter.” Participation in the Sunday gathering goes back to the apostles, and is the celebration defining us as part of Christ’s Body. “Obligation” is a poor word to express this. Consider “privileged.”
As members of Christ’s Body, we’re privileged to participate in this celebration. Sunday observance doesn’t merely establish a time window for Mass attendance. Each Sunday liturgy is a specific Mass with its own gospel and readings and corresponding prayers. Together we celebrate a particular event in the life of the church, whether it’s the Second Sunday of Lent or the Twenty-Fifth Sunday in Ordinary Time. Over the course of a church year, we absorb a complete gospel and recall specific moments of our Christian history together.
Now, consider the nature of a Nuptial (wedding) Mass. It’s also a liturgy of the church with readings, prayers, and rituals appropriate to its occasion. Unlike the public gathering of the community for the Sunday observance, Nuptial Masses normally involve families and friends of the couple receiving the sacrament. Even if the priest performed a Nuptial Mass at 7 p.m. Saturday night or first thing Sunday morning, participants would still not be observing the liturgy for that weekend. It would be like saying: I had supper with a few friends tonight: does that count for dinner with the extended family tomorrow?
Now for the exception. Rarely, couples celebrate the Sacrament of Matrimony WITHIN the confines of the Sunday liturgy. That is, they choose not to have a private Mass with friends and family, but prefer to share their commitment with the entire community of faith. Since the marriage rite is inserted into the Sunday Mass, it utilizes the readings and prayers for that Sunday of the church year. In that case, yes, the Mass "counts" for both occasions.
Books: 101 Questions & Answers on Catholic Marriage Preparation, by Rebecca Nappi and Daniel Kendall, S.J. (Paulist Press, 2004)
Inseparable Love: A Commentary on the Order of Celebrating Marriage in the Catholic Church, by Paul Turner (Liturgical Press, 2016)