Yes, of course it's possible. The done
method even returns the promise, so you can simply write
$.when(
$.ajax(…).done(function(r) {
console.log("ajax 1 resolved with", r)
}),
$.ajax(…).done(function(r) {
console.log("ajax 2 resolved with", r)
})
).done(function(r1s, r2s) {
console.log("both ajax requests done");
});