If OP consolidates his 20 inputs within this transaction, how would anyone be able to determine that those 20 inputs belong to him? You can't tell how many users are involved in the coinjoin, or which inputs are commonly owned by each user.
No, but if OP consolidates 20 inputs then it is clear these were owned by the same person.
OP's concern is about his privacy from his Whirlpool coinjoin being ruined from consolidation
Consolidating all your whirlpooled outputs alone is impossible without noticing the warnings. In sparrow when spending a mixed output you are told to use Stonewall by default.