Is it possible to connect and install erpnext with an previous erpnext database?

If I have an already existing database of erpnext ,is it possible to connect to it and reuse it in a different project?