Yep, the functionality itself already exists, it's a matter of adapting it to work inside the crafting menu.