Can two websites in erpnext share data with each other

there is a website for hospital management now i want to create a new website for loyalty program my doubt is can the data of patients in hospital management can be used in loyalty program