That doesn’t prevent teams from tanking.
I saw this idea: once you are eliminated, the more you win, the higher you pick in the draft.
Let’s say a team goes 0-11 and are mathematically eliminated, then win their next 6 games to go 6-11. This will make them have the number one pick. The team with the next most wins after their elimination gets the number 2 pick. There will of course be tie breakers.