Not sure they're illegal. Don't have one mainly because don't want to advertise there could be (is) gun inside.
My truck in college had a gun rack that held a rod/reel (zebco 33). Nobody bothered that for some reason.
Rifle was stored in the seat cover pocket. Don't have the truck, rack, or seat cover anymore, but I still have that old rifle