Only if you backed up your text messages to an app.
If there is a backup of the deleted text message, you can easily recover from backup files. If there is no backup, first make sure the deleted message can't be overwritten. Then find a samsung data recovery tool to get it back.
Manage your T-Mobile account