Maybe you could restrict your dog's water intake in the evenings so he/she doesn't wake you up. Maybe you could have a cup of tea with a little honey instead of food? Maybe have a healthy stack before you go to bed and maybe you won't be hungry in the middle of the night. What have you tried?