Yes, you should eat meal replacement bars one to two hours before bed as they provide a good source of protein.