Can i create specific conditions based on the next record?

Yes, you can! Although this is for advanced users, with MyDataMerges custom script feature you can modify the output as you like. You have access to the whole database and we offer some useful methods e.g. to look on the record ahead or before.