Is it possible to save alias defined in a tree?

Can I

tree->SetAlias("npe","fIDData.fHits.fTotalNPEs");
tree->Write();

and draw “npe” when I open the file with that tree saved in a interactive session?

Yes, it is the default behavior.