This sentence is correct. 'Himself' is the correct reflexive pronoun for the singular subject 'John'.
Corrected sentence: John made himself a coffee.