Everything the bot changes right now is safe in the sense that there should be no downside to any edit but this will likely change when more complex fixes are made (like implementing T415814: Fix cases of misnested-tag). Visual regression testing could help eliminate this risk altogether if done right.
Relevant REST API endpoints: https://www.mediawiki.org/wiki/API:REST_API/Reference#Convert_Wikitext_to_HTML and https://www.mediawiki.org/wiki/API:REST_API/Reference#Convert_HTML_to_Wikitext
Q: How would this work for templates that require parameters?