In Texas, they expanded the Castle Laws to include a person's vehicle and workplace as extensions of their home in regards to self defense. So indirectly, yes, the Castle Laws do have something to do with a firearm in your vehicle.
Castle Law is about self defense, not where you can legally carry/store a firearm.