No, you should not cook on a dirty grill because it risks ingesting harmful carcinogens. this can cause firstly is the health hazard for you and if you do cooking with dirt grill you must face different type Flavor and Quality.