Sure you can, all it does is supply a negative to the alarm. If all you want to do is to control the light, just hook it up to the light. i.e.: battery--fuse--light--hood switch.
If you also use it for the alarm, you would need to isolate the switch with 2 diodes.
An easier way is to find lights specifically designed for trunk and hood, it already has mercury/tilt switch built-in.
------------------
Harry
'99 Odyssey Pictures