Hi, no that doesn't really work because DIRTY is an adjective. To be a direct object (i.e. to be something he likes) it needs to be a noun. So, some words that would work would be:
He doesn't like . . . dirt, dirtiness, uncleanliness, messes, untidiness, etc.