Obviously yes. It's not that simple of an issue though. Since government is involved in a religious institution like marriage it causes many problems. Religious people feel that marriage is religious, therefore they need to protect it. If that is the case then you need to get government out of marriage, so both homosexuals and religious people both have more freedom.
People get married because they love each other and want to take their relationship to the next level or gain more security. If marriage rights are blocked just because it is an act between a same sex couple, that it is an infringement on their rights as individuals. There shouldn't even be a matter of religion either because sometimes religion doesn't even come into play for couples who want to marry.
No, the government's refusal to recognize same-sex marriage is not an infringement upon religious rights, but rather human right in general. Many couples, both same-sex and opposite-sex get married, not for religious reasons, but rather just because they love each other. Moreover, they may not even follow a religion at all.
The government is not and never should be a religious institution. No matter what religion a person is, or is not, marriage is a legal arrangement between two people, binding them financially, with property, rights, and any children. If the government refuses to acknowledge a marriage based on gender, they are not infringing religiously, it is infringing legally. By preventing 2 people from joining in marriage, it is violating two people's constitutional rights to happiness and freedom.