Does this sound like acid reflux? Early morning vomiting

I am in my mid-twenties and for the past 5 years or so, I have been suffering from vomiting in the early hours of the morning. I have noticed that not eating enough at dinner is a trigger or eating fruit before bed is another one. When it comes on, it is almost always between 4:30 and 6am and i wake up suddenly feeling like I am going to vomit. If I eat something and lie still, it goes away after about 20-30 minutes, (I have to keep something by the bed or ask my partner to get something from the kitchen because if i stand up, i vomit). It used to happen every night but if i eat a snack before bed, I can usually avoid it so it only happens a few times a month now. I don't suffer from heartburn or indigestion and i have tried antacids but i found they made me feel sick all the time. What could this be?