Could Cider[1] be what you're looking for?
It's basically a open source frontend for Apple Music that works on Linux and Windows. It's what I use to listen to my Apple Music songs on Linux, and it's amazing.
[1]: https://cider.sh/
[1]: https://cider.sh/
First world problems of course, but just needlessly frustrating.
The latest release, v2.3.0, also supports forcing the player to use 256kbps[2]
[1]: https://cidercollective.itch.io/cider
[2]: https://cidercollective.itch.io/cider/devlog/674855/cider-v2...