Yes. That's the way we used in Taiwan and now in the US. I also used the sun to let my old dog could stand up by himself easily without my help by 20-30 min. leave him under the sun.
Heat and the yang qi from the sun are the same resources that we used in the Chinese medicine to change our body environment to not allow pathogens survive.
Please refer to https://universaltcm.com/yang-qi-functions-relationship-health/. The solar energy also supplies the power for growth.
My lovely dog passed away last year. He accompanied and encouraged me on my Chinese medicine journey.