You'll need to isolate capacitor used and the relay by a diode. Otherwise, the capacitor will get discharged by the rest of the electrical system.
Capacitor, however, will need to have big capacity to hold the relay for long. I'd say try 4,700 uf.
You're not likely to hurt anything, if wired correctly.