But is it economical?
The idea of turning trash (or other organic waste products) into oil has been around for a long time. Just google "trash into oil". There have even been a couple of pilot plants built in the US.
So far, nothing has come of it. It's just not competitive. That said, it still is a good way to get rid of plastic and other organic waste. Perhaps one day oil prices will be so high that it will make sense.
However, just remember that the world does not nearly make enough plastics to substitute for all our fuel. After all, the majority of the oil we drill goes into fuel, not plastics, and you can't get back more petroleum products than you put into plastics in the first place (even taking into account that plastics are more complex organics than fuels). Once we "burn" through all the plastic waste we've accumulated over the last century, it won't sustain the world's needs for fuel.