I gather that getting a legacy in SWTOR bestows a last name on your character. I didn't really realize this when I made my character so the surname I'd like doesn't really fit with my character name. Can I choose to not display my surname (while still, presumably, having a legacy)?
Yes, you can, it's in the options under Social → Legacy → Legacy Display.
There are three choices:
Legacy Surname is the default value.