Hey yes you can retrain your dog to go into the crate, make it a positive experience put her favorite blanket in it and maybe even cover the top of it so she sees it as her safe place. Reward when she goes in on her own terms and just reassure her. But do not force her.
Many dogs don’t like thunderstorms (including mine) so they enjoy and want a safe place a crate used in the right way is for the dog like for the wolf a den where they feel safe.