Is it possible to change the labels of the confirm dialog buttons from “Cancel/Ok” to “No/Yes” in APEX?
Take a look at this blog post where someone has covered this in the past https://askmax.blog/2018/01/17/custom-confirm-dialog-button-labels/
However, once you get the point where you want to start customising a delivered pop-up, it probably makes more sense to create your own popup dialog region to have total control, because generally once you decide to go down the path of hacking away at delivered JS routines, you're setting yourself up for potential problems in future (eg upgrades etc).
Also, check apex.world for any plugins that might assist. They too are not supported but at least you're using something then that has more chance of community support.
(HT to Jeff Kemp for his assistance)