Hi Pranjal,
I think so.. I haven't explored confirmations using LSMW but as suggested bt Sir Jogeswara, BDC programs are much more flexible for this kind of requirements.
Such requirements can be handled in multiple ways as suggested in this thread, but its always better to check wit your ABAP perosn.
Regards,
Amol