I really recommend everyone with this issue buy one of those blood sugar monitors that you put in your arm with the app - they’re not expensive. I bet my hat you will see blood sugar activity around the time you wake up.
What was happening with me was that alcohol or sugar before bed was spiking my blood sugar, then my body would be working to balance this out in the early hours, but then overdo it with insulin and then I would be experiencing a blood sugar dip around 2/3am which would be what woke me up.
Ensuring that if you have dessert, having it right after dinner (rather than after a big gap and then eating chocolate watching TV) helps ease any blood sugar spikes.
I love a wine so not going to stop that, but I make sure I have bananas or similar ready to go to snack on to get back to sleep when it inevitably wakes me up at 2am.