It will work only if you know the details of the code and setup the correct parameters. If you follow simple procedure SCF-band-bands.x-plotband.x, then you should get wrong results. You need to modify some parameters before bands.x. However, for wannier 90, you first need to construct wannier function and then interpolated them and run postw90.x. You can follow the similar procedure for vasp https://www.slideshare.net/jmskelton/wannier90-band-structures-tips-and-tricks.