I plugged in an old iPhone SE into the Lightning port on a nice speaker and locked the screen to Spotify -- with auto-brightness it worked fantastically.
Until it also turned into a spicy pillow after about a year and a half.
Really wish there were some kind of system preference to run off wired power only and just not charge/discharge the battery at all.