Isn’t the HSTS behaviour identical when the domain is the same, regardless of whether the route goes over the internet?
Ie if you have a .dev domain that resolves to your intranet - you will still need HTTPS on example.dev, the browser won’t let you off?