switching half an outlet
Yes! I do that all the time. I use my own "standard" conventions:


Use the red wire for the "switched hot", black for "always hot".
Make it the top half of the receptacle that is switched.
Mark the switched half of the receptacle with a dot or something, to show it is switched.