Applying item components from storage

With the introduction of components, I think we lost the ability to apply nbt (eg potion name) to an item from a source storage. Like I have an array of compound elements each containing some info about a potion (name, lore, actual potion) and I would like to copy those info onto an item held by the player. For now, the only way I see for that is to use an armor stand/item display and use the /data commands to put the components onto the item and then use /item commands to return the item in player's hand.

Is there an other way to achieve my goal ?

Continue to help post