Yes! Many yoga practitioners call this savasana or “corpse pose.” It may be best to do when you’re not too tired, to avoid falling asleep. But then again, you may just have needed the rest!
I meditate lying down all the time. I have to be in a comfortable relaxed state and lying down gives that to me more than sitting in an uncomfortable position just because people are given the impression that, that is what they are supposed to do to meditate. Be in whatever position and on whatever surface you find most comfortable. The mind will be less distracted that way. Sitting with the legs crossed, back straight, on the floor is all hype and not necessary. You can even do a walking meditation if you prefer.