Hi Balaji,
You can, but I wouldn't recommend it, as it will make it much harder for you to upgrade to a newer version of Orbeon Forms, especially since we're starting to make more significant changes to xforms.js than we've been in the last few years. What changes to you have in mind? I'm asking as there might be another way to achieve that goal.
Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet