A record player is mechanically and electrically much simpler. And vinyl disks are just pressed vinyl. You can buy a toy kit to build a record player, a CD player is just too complicated.
you don't need a toy kit, to get sound of a vinyl. but yes it's basically impossible to build a laser and tech to read cd-da and than get audio from it...
well there is https://www.theaudioeagle.com/columns/column07.html but you need a dac and a cdm device, vinyl only needs paper and pencil (fun fact a guy from r&d of dts showed that: https://www.youtube.com/watch?v=GaqmdcaF87w)
(Now I suspect vinyl's main purpose in life is as a marker of being a discriminating consumer who doesn't want to be a victim of the loudness war, since you can't overdrive a vinyl record in the same way for physical reasons. It is unfortunate that one must go to such measures to opt out of "music that sounds like crap because you ruined it, you stupid music companies".)