It can vary by province.
In Ontario, a realtor can receive moneys, gifts, discounts etc. from anyone as long as any gains they enjoy are fully disclosed in writing to the people who effect such a gain.
Most are more subtle than a cash kick back – but if it walks like a duck !!
Cheers