1.your parents will not get onarival visa for indian passport visa in dubai.
2.if they want to go dubai they gave to arrange transit visa before they depart from india.
3.they will get 24 to 48 hrs tranist visa , then they can come to doha,

in general yes they can go to dubai and come to qatar only if they have transit visa to dubai.