Welcome to the forum. The pi has some gpio pins, so most definitely possible but you would need some buffer electronics between it and the car, ie relay drive circuit.
Thanks. Yup, would definitely use relays. I'm just more of a mechanic/electrician and don't know anything about programing.

The RPi is way overkill for something like that.
You want a basic microcontroller. Arduino, MSP430, PIC etc etc.
I already have a pi and maybe I would use it for playing movies or music in addition. What I would like it to do is:
Start the car on diesel
Once the oil warms up, for the pi to switch to the oil
Once I take the key out for the pi to switch back to diesel and to keep the car until the fuel line flushes
I would also like it to keep the oil warm when the car is off with some electric heaters powered from outlet. Basically I would park it and plug it into an outlet for the night.
I would also like it to keep the oil war even when unplugged from an outlet using the car's battery but to monitor battery voltage so that not to discharge it below a certain level.
Hell, maybe even start the car at a certain preset time to warm it up in winter and cool down in summer.
