As title. Consider Halledon Felf, a half-elf. At first level, Hal takes Human ancestry, and selects Half-elf as a heritage. He then has an ancestry feat, which he uses to take Elf Atavism, allowing him to select an Elven heritage.
Leaving aside for a moment whether it benefits Hal to do so, can Hal select a versatile heritage, such as Aasimar or Tiefling, RAW?