Is it possible to create a custom Switch on, like switch on actor?

I been working in a game where i have multiple players with different actors, and they and i wanted to do something like this:


But instead of String i want it to be a Class or Actor and in this part

image
like select what happen if X actor is in the list?

i know barely nothing about scripting in cpp, if i had to do it ill do it, but i need to know if this is possible, thx