do you know, by any chance, about the connection between eating vegetables green and onions seem to trigger sleeplessness? I think it's a gut issue, but I can't find any doctor that knew this yet
Are there any signs of gastroesophageal reflux? Like burping, or feeling hearburn, maybe even non-cardial chest pain? If so, I would suggest consulting with a gastroenterologist before visiting a sleep laboratory. GERD (gastroesophageal reflux disease) is often associated with late sleep on-set phenomena and with fragmented sleep circle pattern due to central apneas taking place when the acidic reflux enters the esophagus.
If you already have ben checked by a gastroenterologist (and/or are under treatment) I would suggest visiting a sleep laboratory. They would perform a sleep study and will be able to better assess your sleep patterns.
Sadly that left me with mostly meat and coffee