Yes, they can, if you really WANT to do that. You CAN reduce the odds that they will show up. If the gene does show up, you just mark the card for those animals and never breed them again. Eventually the gene will be gone, at least from your stock. It will take time, of course, but otherwise, what are your alternatives? Using test breedings to produce babies looking for the gene and then with ALL of the resulting offspring:
Yeah, that's the ticket. Test breed ALL of your adults for at least three years to be even then MAYBE somewhat sure that they are SG free and kill off or give away all of your produced babies during that time. So how do you enforce any guarantee from the people getting these freebies that they won't somehow eventually wind up in someone else's breeding group? Two words: "You can't". So unless you kill every one of the offspring, you are just wasting everyone's time, and YOUR efforts, with that "testing" if you believe you are helping to rid the world of SG.
I doubt that anyone with more than 6 producing females will seriously consider doing this sort of destructive testing. Even with just 6 females, you are talking about likely 80+ babies EACH YEAR YOU TEST that you have to just kill outright, regardless of the results you get. And if someone is actually in BUSINESS selling corn snakes with lots more adults? Not a chance.... Remember you CAN'T just test Sunkisseds. That barn door was left wide open way too long for that. You have to test them ALL.
To be perfectly honest, it seems to me that to be purposely breeding snakes to produce babies that you MUST kill is kind of backwards and totally at odds with the reason that most people would even want to breed corn snakes. Seriously, what's the POINT of even engaging in this sort of activity if you are so afraid of getting this "boogie man" gene that you would kill off dozens, and possibly hundreds of baby corn snakes in that pursuit? Multiply this by EVERYONE scared of and testing for this gene, and what do you have, THOUSANDS of baby corn snakes killed because of this testing? For crying out loud, just get some other hobby to play with and STOP breeding corns if this worries you so much.....