No; even though in principle it is possible. The rubbing compound would dry out too fast, however, and subsequently a considerable amount of cleaning effort would be required. The industry therefore does not recommend polishing hot paint surfaces under direct sunlight.