Yes. If you edit a pattern and need to revert to an older version, you can use the revision system in WordPress to do so. Just be mindful that many sites choose to disable this feature because it takes up a lot of space, patterns are no different.