Not really, margins on coffee are extremely high and a library-like environment can attract paying customers if you play it right.
At least the ones I know of that have remained open are in a building owned by the owner (so they don't have to pay rent).