Is "hardwork" a valid word?
The OED has no entry for single-word 'hardwork'.
Your example on definitions.net was user-submitted, and in fact the provided citation doesn't use single-word 'hardwork'. Insofar as anything is "not a word", I'd say 'hardwork' counts.