Employee Loans / Disbursements /Repayments

Can we pass Journal entries against part type = employee and link entries with Employee ID

Consider them like a supplier or customer when we need to manage loans without creating ledgers for each Employee ?