Apart from STS-1, we also have the even more recent/relevant SpaceX example of this happening: https://en.wikipedia.org/wiki/Crew_Dragon_Demo-2
With both Crew Dragon and Starship, there will have been _many_ successful missions involving un-crewed variants of the spacecraft (Falcon 9 and Cargo Dragon were both well-proven systems before crew was a possibility).