Yes, but I do not think it has never been passed by a public referendum. Traditional Marriage has been upheld by around 36 states through referendum.
The point being: Leftist hate democracy and the will of the people. They greatly prefer the dictates of judges. It is easy to judge shop for the outcome they desire.
It was passed by public vote in Washington, Maine and Maryland. An initiative to write a ban on same-sex marriage into the Minnesota state constitution was rejected by the voters.