Yes, you also receive dividends from index funds and ETFs. Some index funds and ETFs pay out dividends. In these cases, the money you receive is credited to your account and, if the difference to your target ratio is large enough, reinvested in the next rebalancing.