Yeah i'm sure it'll work, the YX head will have bigger valve's than the KLX stock head too, so it will flow better.
I'd just double check the valve/piston clearance's before final assembly
Might need a TB piston, and possibly a KLX110 2010 or later camshaft gear if your's is earlier