I can still fall asleep right after drinking coffee, but as I get older I find it affects the quality of my sleep more and more.
Then again, I also spent many years misdiagnosed with a sleep disorder and also had terrible sleep quality due to breathing issues until just last year, so that probably masked any effects of coffee until recently.