i'd say not many dealers have software to flash ecu outside of the ducati tools, which are in the realm of "ecu updates" and certainly don't allow the technicians (who the factories generally view as fuckwits not to be trusted) to do anything outside of factory supplied files.
also, a lot of dealers, ime, would not be interested in doing so because of the work being outside the parameters of franchise, blah blah blah.
plus it's a service many would charge for, so they wouldn't do it for free on principle. i do.
it might also depend on who "generated" the issue, so to speak. the fact the dealer did it for free in this instance headed off any issues that, had there been an issue, would have started with the line "you only gave me one key". dealership does it for free and looks good. any other solution would have cost them a lot more, so you'd chalk it up to good business.
know all wanker