Anki doesn’t force you to make cards with vocab words in isolation.
I wrote my own program 2 years ago, that generates new sentence on each review using AI (at that time I used Anki as scheduler). That was fun and quite effective as far as I can tell. I would recommend others learning language past A1, maybe A2 level to do the same. This day you don't need Anki for this, just use one of FSRS libraries for scheduling.