Using the TrueNas ui I've managed to install homeassistant os inside of a VM instead of the docker container version. Here's the guide I used (first result on Google) make sure to run the qemu-img command with sudo.
https://community.home-assistant.io/t/installing-haos-in-a-vm-on-truenas-scale/511393