It depends on what kind of joint marketing you're looking to do. An open house flyer where a realtor and lender split the costs hasn't been an issue for us. If you're wanting to be the realtors "preferred lender" on Zillow and pay for their listing fees, that's an issue (even though credit unions and brokers do it all the time).
_________________________
All opinions are my own, not my employer's