Yeah. These are the instructions on another page:
DirectX version can also be changed out of game through the command line arguments in the Battle.net desktop app.
- With the Battle.net desktop app opened and WoW selected click on Options
- Select Game Settings
- Find WoW and check the box for Additional command line arguments
- In the new box enter the command for the desired DirectX version:
- -d3d11legacy
- -d3d11
- -d3d12
- Click Done to save.