Yes! Most of the vacuum cleaners are suitable for polished tiles and hardwood floors. But, in case you have a carpeted floor, then you will have to look at whether the robot vacuum cleaner you have chosen is compatible with the floor or not.
You may find several products that are compatible with both the floor types. If you are buying the device, keep in mind that they are not suitable for uneven and cemented floors.