Yes, when you clear your messages it does not delete any saved media or texts, though it will clear them from your immediate feed, meaning that they won't be as immediately accessible.