Um, giving a child any type of medicine that isn't meant for them is not a good idea at all!
Having a baby means sleepless nights, that comes with parenting.
All parents have been there, its completely unnecessary to give them a pill to sleep, they are waking up because they are hungry!
When I breast fed I wouldn't even take a tylenol or even the prescription pain medication I was prescribed to because I wouldn't want to give anything unnatural to my son.
Stick out the sleepless nights. Babies know what they, want when they want it..if they're not ready to sleep through the night then that's something that you have to work through...without forcing it