If you have a 100% verified group of romsets for a given mame version, the vast majority will work without issue. However, there are still some minor quirks with some games, hence the compatibility list here:

Do note that rebuilding an older set from, say, 0.164 is unlikely to reproduce the old set 100% for various reasons (e.g. the newer set may have removed roms that are now deemed inaccurate), so you may want to google rollback roms to understand how to get fillers.