-
Maybe to choose the weapon type along with its appearance and base stats, the first step of the bounty would be to turn in a legendary weapon to the gunsmith and that gun would turn into the exotic but with your choice of abilities through the method you described.