That is legal. The only thing you need a realtor for is to market the home (including the MLS listing) and find or refer buyers--that's what you need a realtor's license to do. If the owner finds a buyer him/herself, he or she can legally either do the paperwork, etc. on his/her own or hire a lawyer directly to do it.