European Doha-Dubai by car

Hi
I saw some topics quite close but I didn't find all the answers I am looking for.
I am european and I visiting a friend in Doha, I first arrive at Dubai by plane and was thinking to maybe take a car to go there.
Is it possible to rent a car for such a journey? What about the visa at the borders? Can I buy them directly there or should I get them before?
Thanks in advance
Regards
Aurel
0 comments