Maybe if you disable speakers, every application will start using the headphones, and then you can immediately enable speakers for next time.
Maybe you could close and reopen the applications that are using the speakers, and they will default to headphones.