Nope. You can change the value of the variable(s) in the xpath, but not the xpath itself.
You can use a different xpath by triggering another microflow.
But what you can do is based on the checkboxes let a microflow return the wanted list of objects. So make a decision tree that for each checkbox retrieves that list for that checkbox and add that to the list you return in the microflow.
Regards,
Ronald