Regarding the title of this post, no... you can safely clear data from the messaging app without losing your contacts. They're stored in a separate database.
"Unable to send texts" usually isn't a matter of the data in your text app. Are you sure that a) you have a phone signal (IOW, you can make phone calls) and that b) your carrier isn't having a problem?