Spaced repetition isn‘t exclusive to Anki. You have to review memory palaces with spaced repetition, too, if you‘d like to remember them for long term.
I don‘t think it‘s necessary to choose either Anki or memory palaces. I use both extensively: memory palaces where I have lots of keywords to memorize and where accuracy is vital. I use Anki on the other hand when I need to memorize short definitions or just pieces of information with 5 keywords or less.
From my experience, I retain the information with much more accuracy when I put the information in a memory palace.
My spaced repetition schedule for memory palaces is a bit different than the standard one in Anki.
Here‘s the schedule I use: