Custom Widget with one custom variable as parameter

Hello I am new to the community of the matomo.
I would like to ask if it is possible for best filtering options to create a custom widget, having a single custom variable as a parameter and not all of them. In order to achieve better filtering for the statistics results of our website.

Thank you in advance