Is the sentence "tom ate more food than was nice for his health"right?

And is the sentence "tom ate more food as was good for his health."right?i am not a native english speaker.and i need help.i cannot find another way to get help except this.
Answer
Tom overate.