No, Rashi did not make any connection between the ten toes in the feet with the ten kings in Daniel 7:23-24.