Different options for Choice interface

Can I feed the choice interface with a different set of options instead of a fixed one?
For example, one has options

options = [
        {"id": 1, "text": "A"},
        {"id": 0, "text": "B"}
    ]

but the following has options:

options = [
        {"id": 1, "text": "C"},
        {"id": 0, "text": "D"}
    ]

Yes, that should work exactly as you describe!