No. The rendering platform has to be set before you build the app. If you want your users to be able to select between rendering platforms, you have to build several versions of the game and ship them.
thanks @Baste , and if I set like this: what means? it uses dx12 but if is not able to use dx12, it uses dx11?