Set up another profile with the context Notification and Headphones Connected.
For the Entry task you can use Beep, Play Ringtone, Media Play Music File or a Say action and set the stream to media.
Sound should come over the headphones and not the speaker.