I am unsure as to whether the image upload feature will accept a KML file (it accepts PDFs and a few other file types).
But one of the major problems will be trying to view the data. A KML is a specialized XML file that WikiTree will not be able to render, so it will end up showing as plain text.
Let me think on this some, I may be able to extend the new cemetery app to accept KML uploads.