Probably not, unless you're a passenger who enjoys being glared at by the driver. The chillest move is to keep it dark. If you absolutely need to find that gum wrapper, pull over at a gas station or use your cell phone’s flashlight for a quick second. It’s safer, and it saves you from that awkward conversation with a cop who could write you a ticket for reckless driving—just not for the light itself.
Remember, the law cares about control and visibility, not the mood lighting in your cabin. So, go ahead and flick the switch if you really want to, but maybe warn your friends first. Just don't be surprised if they tell you to turn it off because "it's illegal." Now you can smugly correct them, but don't be a jerk about it. Knowledge is power... and a little bit of cool.