It is dangerous to try with a bad oil pressure sensor. A bad oil pressure sensor means there's something currently wrong with the engine and if not checked properly, it can cause major damage to the engine and vehicle.