They can write him in but the votes don't count. Just like if the Republican Party of Al rejected Moore and said he no longer represents them votes for Moore would not be counted.