There is a method for getting them saved to the build out of your ship yes. They can sometimes be repaired (maybe only in game looted items) but in my case have always come back with a claim.
If you want to try it out here’s the steps that have been shared and are working for me.
The gun rack should be saved to the ship build as well now. It will Increase repair costs but may not actually replace missing guns. I have found that guns that you can purchase in-game usually come back on a repair, but any other guns that you can’t purchase in-game only come back on a claim (sub gear, web store items).
As a cheat sheet, here’s what I know so far has Gun Racks:
Do you have a GPU in there with the Stable Diffusion? If not how’s it working? I’m debating moving to a machine I can’t guarantee my spare GPU will fit in.2
Harmony gets my vote of those two.