Just so long as you acknowledge the fact that 99% of digital audio you listen to is not meticulously optimized the point that there's a discernable difference between it and analog sound.
It is true that a lot of music is recorded digitally and then put on vinyl. I'm in a band and we did this exact thing for our latest release. The mastering engineer did a special master specifically for vinyl that is different than the digital release master.
It is possible to do the recording process analog, but it is more expensive and time consuming.
There's also a hybrid option that some elect to do, where they record to tape (analog) and then edit it digitally.