Yes it is possible to collect all Idocs in a single file and then processing them via LSMW
Have a look into my blogs:
LSMW migration with IDOC method and using IDOC as source Part1: Extract by ALE
LSMW migration with IDOC method and using IDOC as source Part2: Import