Yes, it is possible to have a transfer from Zagreb to Dubrovnik in one day but be aware it’s a minimum 6 and a half hour drive (one way).