No, do not substitute olive oil with any cooking oil or vegetable oil. Olive oil has its own unique flavor. It makes spaghetti Aglio olio delectable. Extra virgin olive oil is the best oil to make it. Regular vegetable oil will not give any flavor to the dish. The spaghetti will taste bland if you make it with vegetable oil.