I'd say it is not ok.
you may not:
8. attempt to embed or integrate the API into any website or otherwise allow access to the Service via the web rather than via the Application.
https://developer.spotify.com/technologies/libspotify/terms-of-use-non-us/