Let us suppose that we have received a rejection of our paper form a journal, but this rejection contains a really very valuable and detailed review, so some ideas of this review after some consideration and rethinking will be included into the new version of the paper.
And I here have two questions. No doubts: the new version of paper will contain acknowledgements to the anonymous reviewer. But:
Is it a good manner to answer editor's rejection letter and ask him to pass our deep appreciation to the anonymous reviewer?
Is it somehow possible to ask the editor to pass our desire to invite this reviewer to be a co-author of our paper?