Leave Approver in Parent Company and Leave Applicant in Subsidiary Company

I have a weird situation where my company has a subsidiary started. Since it is still in early stage we do not have the entire team setup at all departments. Let’s say Company A is parent and Company B is subsidiary. RM who is a Leave Approver is in Company A but Leave applicant is in Company B (subsidiary). This means both have separate Company logins. Wanted to check if ERPNext supports Leave Approval between parent and subsidiary companies. Document does not say anything related to Leave application.
Kindly advise…