I don't know the correct terms here, but there is a path from your throat to your ears that is normally closed. When you swallow or yawn the paths usually open, but some people can voluntarily open them.
When you do it, you can hear a low humming, but also sounds through your mouth. Maybe this is what you mean?
It's clearer if you're wearing for example hearing protection, and open your mouth and the paths.
I'm not sure what exactly im doing, but it feels like im contracting some muscle inside my head near the temples.
Is this normal and could this be something similar?