Yes. The only thing you have to do in a long rest is lose a card from the discard pile and put the rest back into your hand.