There exist at least these two books made of rejection letters:
https://www.barrelhousemag.com/shopone/thanks-and-sorry-and-...
and this one, in which the book is constituted by letters rejecting the book itself:
http://www.beardofbees.com/pubs/The_More_You_Reject_Me_the_B...