Weeeeell … ideally, and some of the time.
On the other hand, emulators can introduce bugs of their own that aren’t in the original hardware, Some games that worked on the original hardware can be unplayable on (one or more) emulators. At the same time, emulators can remove restrictions easily enough: I’ve seen plenty of people talking about how glad they are they don’t have to wait for the floppy disk to spin for thirty to sixty seconds every time they enter a new room. Too, running old code at a much higher speed on modern hardware is sometimes good and sometimes breaks games that use timing loops.
But of course it depends on what your motives are for asking.