Hi Karthi,
Yes, you can do that. And I'd recommend you add that <xf:action> inside the <xf:model>, with an ev:observer="your-button-control". This way you can have more confidence that Form Builder won't "loose" with your custom code.
Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet