It's not quite the same thing, but you can double click a unit to select all of that type vis1ble on screen, and assign them to a control group (Ctrl-number), then select them in RTS mode with that number, or Alt-number in dragon form.

Dragon Commander is using a different game engine than Divinity 2.