No, it wouldn't solve the problem in states where laws existing protecting homosexuals from "discrimination" like New Mexico and Colorado.
"Anti-discrimination" laws trump "right to refuse".
How can someones behavior be a protected “class”?