Does it make sense to use Autocomplete to fill a field instead of navigation?

I’m thinking about using Autocomplete to select an item and fill data before adding a product to the cart.
Example:
A database of Movies and 1 product that is just a t-shirt. Then, before adding to the cart, you have to choose 1 movie to print on it.

Does it make sense? I’m not sure how to approach this without lots of redundant code. Let’s say I’m starting from the Sandbox example of Query Suggestions with hits but only using hits. Instead of navigating to those products when click, I want to use those fields to fill another DOM element.

Any ideas? Thanks