One can create Splunk dashboards using Simple XML and JavaScript (classic dashboards) or JSON (Dashboard Studio), but not Python. Consider going to https://ideas.splunk.com to suggest it.