If you defined a ceramic as "a material that is inorganic and non-metallic" then yes, graphite Is a ceramic.