Yes, desensitizing your dog to loud noises, including fireworks, can be an effective long-term solution. Gradually exposing them to recorded sounds and providing positive associations can help reduce their fear and anxiety over time.