Yes TokenTax supports both staking and lending cryptocurrencies and they'll automatically calculate your tax-obligations related to them when you either connect your exchange API to their software, connect read-only access of your self-custody wallet to them, or simply import a .csv file of your staking/lending rewards.