Yes. Plus the machine is right there. Just research variants and parts available for the weapons you are hunting. 613 for a legendary, 35 per head. So even with 999 you can only buy one legendary before needing another 227 tokens to afford another.
What is a man?! A miserable little pile of secrets!