There is the option of deleting revlogs of cards that Anki stores or deleting whole cards. Nothing you can do with the setting.
If you’re comfortable with a custom sync server, maybe it’s worth checking that out too. (I suggest we continue this in a different thread if you want to).