Most parallel 8/16 bit wide PROMs, EPROMs, SRAMs, NOR flash/EEPROMs, etc, are mostly functionally interchangeable. Meaning signal definitions and timing is such that they're pretty much mutually exchangeable even if different packages.
For devices that have the same number of data and address pins, in the same package) they're often interchangeable. This is easily verified by checking the datasheets.
The exception is for programming purposes, programming requires device specifics. Sometimes voltages, sometimes erase sequences (pins or special writes, use of a command pin for NOR flash), sometimes the write procedure itself.