Writing his own name in the notebook would not kill him. As long as Ryuk continues to be the way he is, he will be eternal.