Absolutely. Here's an example:
First, a purple mission pops up. In vanilla this is only the terror missions, but in mods like X-Piratez these missions pop up much more frequently. So:
Then, you rename the mission:
Send the craft. The custom name is retained:
The mission begins. The custom name is retained:
But in the soldier history it's still the default name: