Yes, the phrase "turn in" is still used to refer to the action of going to bed, though it might sound a bit old-fashioned or formal in some contexts. It's more common in conversational English, especially among older generations, but it’s still understood and occasionally used by younger people as well.
For example:
"I'm going to turn in early tonight."
"After a long day, he decided to turn in."
In more casual conversations, people might say "go to bed," "hit the sack," or "call it a night," but "turn in" remains a perfectly acceptable and recognizable expression.