Yes. It is a joy and privilege to throw a baby shower and giving a card to the hostess is a really nice idea. It is not mandatory, but it is appropriate to give the Hostess a very simple thank you card just to express your gratitude for throwing the party.