If you’re looking into an idea along the space faring Samurai/Ninja/Knight genre its not too far flung to have a similar baseline, of honor and impossible abilities, but be very careful in the constructing of it.
You could have a space faring race that acts as an extreme law enforcement and the other assassins and mercs. Perhaps cybernetic or genetically modified beyond normal limits where close quarters weapons make sense to be put to use, or other technology that favours the personal touch, or may this is strictly for theatricality and intimidation “Is that thing really using a SWORD!!!” I’d be thrown off if someone came at me with a sword, worse if I couldn’t land a shot, reputation, intimidation, and skill turn into near mythological reverence and terror ala staring down a corridor and seeing a jedi or a sith staring back… OH SH*&^!!