Specify a custom variable in templating

I am currently using a query to prometheus to get a list of values to populate “hostname” variable.
Is there a way I can inject my own value on top of this list?

no, you cannot mix query variable & custom variable.