Yes, Marigolds can be composted just like other plants. After they've dried slightly, adding them to the pile is a great idea.