Praise be to Allaah.
There is nothing wrong with that, but if the water is extremely hot, is OK but it is makrooh, because it may harm the skin by burning it and causing pain. There was a dispute long ago about whether heated water would remove impurity or not. The correct view is that it does remove impurity, and heated water is a necessity in cold countries, but it is makrooh if it is heated by using fuel that is impure (naajis). And Allaah knows best.
Al-Lu’lu’ al-Makeen min Fataawaa al-Shaykh ‘Abd al-Rahmaan Ibn Jibreen, p. 78