I'm sure it has been, but I'm mainly talking about popular sci-fi movies. I'm sure you have at least one in mind where they have these 'sleep' devices.
I'm not much into visual media, so I can only come up with a few examples of 'sleep' devices:
Star Trek's "Space Seed" - 200 years in sublight stasis, no mention of speed or distance. Could be 0.5c for all we know. 100 ly at Enterprise's warp 6 cruising speed would take about 4 months, which seems not unreasonable.
The movie "Alien" - stasis, but seemingly with FTL given the times and distances involved. (https://avp.fandom.com/wiki/LV-223 says it was a 2 year voyage to the moon LV-223 in Prometheus.)
What came to my mind immediately was 'Passengers'. But, reading up the plot on Wikipedia, it is possible that it never actually was mentioned how far away the destination was or how fast they were going. So, maybe it wasn't a misconception on the sci-fi side, but on my side. For sure, any light speed travel shouldn't take any time and infinite amount of time should pass for the rest of the universe.
I mean yes, but there is a rather specific window where they make sense: at ~1-80% of c. Lower speeds it doesn't make sense to engage in interstellar travel at all, because even travelling 100s of years won't get you anywhere. At higher speeds it doesn't make sense because of time dilation.
But that's a... pretty important window. There are not-completely-bonkers hypothetical spacecraft designs that could get to, say, 0.2c. There's nothing particularly plausible that could get to 0.99c.