A self-cleaning oven will burn off the resin left from plastic, but large pieces or puddles of plastic need to be removed. Therefore, you need to remove as much plastic as possible before running it through a cleaning cycle.
Moreover, is melted plastic fumes toxic?
It is extremely harmful to you, those around you and the environment. Very harmful toxins are released when burning plastic and can significantly increase the chances of cancer, respiratory illnesses and birth defects. It can also greatly damage internal organs and the hormonal system.