Both my refluxers did this until about 14/16 weeks. They would squirm, fuss, fidget, pass wind, calm for a little while and then start all over again from about 2/3am until morning. They were generally asleep - I wasn't, especially when DD went through the phase of slamming both her legs down on the mattress.
I don't know if it was reflux related or just newborn digestive system learning how to organise itself, but it did pass at the 4 month mark for both of them. Does your LO have any other symptoms?
Hopefully it will pass for you too!
Laura