LUA coded NPC squads?

Is it possible that someone could make lua coded npc squads to resemble the ones in Brothers in Arms: Hell’s Highway?