Absolutely! The positions of stars and planets are tracked in some of the world's most advanced space agencies. Therefore, it is possible to draw star positions from the past, as well as predict their position in the future.
The representations are accurate because we use mathematical methods to determine the position of the celestial bodies. The positions of stars and planets are accurately recorded in the bases of the world's space agencies.