Q: Making oath to do ghusl?
a) Can one pray obligatory prayer with this ghusl?
b) Can one pray if the nadhr was specifically to avoid wudhu?

The oath it self is not applicable in both cases.