No, not together. If you use "did" as an auxiliary verb, then "had" needs to be in its base form, "have": Did you have fun?
However, they can appear next to each other in some sentences, but they are not part of the same clause (and so they are "separate" verbs).
Ex: What I did had been checked by an expert.