The Short Version
The evidence does not support the claim. High-quality reviews generally find moderate daily coffee consumption is associated with neutral or favorable health outcomes, not broad harm. The main bedtime-caffeine studies examined 0, 3, and 6 hours before sleep, so they do not establish that coffee consumed at least 8 hours before bed is harmful overall.