Yeah it is possible to mod in this unit capability. Here is a brief illustration:

Vanilla RTW shieldwall ?

You'll need to make use of the mod: switch command in order to direct the game to make use of BI's files.

I'd tried to do this myself a while back, but since custom / historical battles became corrupted after using the mod: switch ability, I had no direct way of testing if the results worked correctly.