Most likely you will have to do it externally.
Be advised, however, that storing alpha channel virtually doubles memory usage of your texture, and using additional channels in normal maps provides a bunch of complications.
There are some discussions on the forum about that: