No, it’s very unlikely. Oil can help as an additional method, but you also need something else, e.g. rodent repellent.