Certainly any system can only work with the input signal it is given, and while spotify sounds ‘good enough’ for many/most people, if you are looking to improve sounds quality, lossless CD or higher quality files are a solid starting point.
A popular option would be to switch to tidal, which I...