Of course! The purpose of meditating is to feel at peace and calm/ comfortable. If that means you’re lying down then that’s fine. However, if you are falling asleep I would try and do it a bit earlier if you can. It will help you feel more mindful of the meditation.