Yes. First-class passengers on the RMS Titanic had access to a well-stocked library with hundreds of volumes, plus multiple reading rooms and a writing room.
The library reflected White Star Line's focus on comfort and dignity over speed (unlike Cunard's Mauretania/Lusitania). First-class passengers could read, write letters, or socialize in quiet elegance—until the night of April 14, 1912.