You cannot retrieve deleted messages unless those messages were part of a backup, but if you restore that backup, you will restore only the messages you had at that time. Any subsequent messages will be lost. Being that those messages are still available on your iPhone, take solace in it.