You can use nearly any light/bulb accessory you like, so long as you ensure power doesn’t remain on when the hood is closed.
I’ve had this tilt switch in my list for about a year now… I’m just smart enough to know I’m too lazy to install it while the current light is still working.
ECS Normally Open/Normally Close TILT Switch
https://www.amazon.com/dp/B073HNMCMN/?tag=jkforum-20