Yes, that can be done without any problems, although the reverse does not apply. Tiles that are specifically made for walls should not be used on floors. This is because wall tiles are generally less strong and wear-resistant than floor tiles.