You can try a css workaround, it will require you to edit your grafana.ini
[panels]
disable_sanitize_html = true
then add a text panel, switch it to html and add the following:
Text to copy instead of typing it out:
.css-19gv2o1-panel-header {
margin: auto;
}