Wait, now i realise it's not really drag and drop. Just click on one unit, then on the other; if they're identical they'll merge. But yes, you can merge units that are already on the board and are not forced to buy upgrades from the shop