It is relatively easy to integrate an old legacy system into a new ecosystem if it's got an API. It is less simple to do so without the existence of an API but it might still be done using some creative solutions depending on the structure and environment of the software.