Oh sure, so don't give it write access to anything important. And make backups.
Mine is on a VM. It doesn't have access to my host's files. The worst it will do is delete the files on the VM. No great loss.
Yes, I do get it to modify things on my host, but only via a REST API I've set up on my host, and I whitelist the things it can do (no generic delete, for example). I even let it send emails. But only to me. It can't send an email to anyone else.