Yes you can. I have about 3k tracks on a USB stick either ripped from my CDs or digitised from vinyl.
They are all in high bit rate MP3 format, not sure if FLAC format will work.
I’ve started using Spotify Premium now though which of course offers an almost unbelievable number of tracks, it does stop working though if you go through a mobile signal dead zone.