It's possible only if you have a backup made before you deleted the messages.
Should be this case, remember that restoring from that backup will overwrite all your current data, apps, settings to what you had at the backup time.
Restore your iPhone, iPad, or iPod touch from a backup - Apple Support
Regards
Giulio