Several games offer starship design, from deep engineering to cosmetic loadouts. Pick based on your desired depth:
Pick based on depth: KSP/SE for engineering; Stellaris/ES2 for strategy; Squadrons/Elite for piloting + loadouts; NMS/STO for cosmetics.