Is there any difference if you install Unbound before Pi-hole?

(I've split your question from Unable to synchronize system time, Pi-hole not working in order to keep that other topic focused.)

There wouldn't be once you'd have completed installaton of both.

Still, I'd recommend to get Pi-hole fully operational first before installing unbound.