Affiliate code for programmes

I am planning how to transitioning my course from Kajabi to PB.

The one thing I am struggling to replicate in PB is Affiliate payments.

Currently (inside Kajabi) my students can act as affiliates and earn a commission when they share my course with a colleague. With payments automatically or manually paid out to them when the course is purchased using their link.

Is this possible inside PB?

Thanks