I believe there is a way only if you didn't delete it. Then you need to go to the top of a conversation and there will be 'load more messages'. Then it will show the history of iMessages but only for one number. I think there's no way to get the full list of numbers you texted by iMessage. They are all stored in the Message app. But if you delete it, then they are gone.