If you make a single-day trip you may not enjoy your tour to the fullest. You must leave very early and return to Cusco at night.
Although you will be able to climb Huayna Picchu in the morning and do Circuit 1 in the afternoon, you will miss the opportunity to get to know the town of Aguas Calientes a bit, which has to offer, for example, the hot springs.
The best alternative would be to go from Cusco to Machu Picchu Pueblo in the morning, explore the surroundings, go to the hot springs, and sleep there. The next day, get up early to see Machu Picchu and return in the afternoon.