Yes, the states are sometimes "ahead of" or have stricter rules about things than are in place at the federal level. For example, some states have stricter clean air requirements than federal ones. If a state constitution had a specific protection for gay unions and the federal courts have established no federal constitutional protection then the states could strike down gay marriage bans.