I have done it. There are worse things to do. Plenty of rest between sets is the key to making it work.
I usually did my squats first. But deadlift day, after warm up sets of the lift, I was just too spent after putting the weights up, so I just skipped squats that day.