Sorry to revive a very old thread. I created a small open source map-card for which you can configure the tile_layer url.
nathan-gs/ha-map-card
a blog post highlighting the usage of a custom map for Home Assistant
Hope it’s useful after all these years!