You can use the hooks system to adjust the index, you can do something similar to the steps shown under the app index, just make it for the head instead of body.
I managed to implement this in my app (dash=3.4.0), although I’m not sure yet it’s detected by search engines as it’s rendered dynamically, when the html head has already been generated by dash. I’ll update when tested with Google search console.