Brand new HA user. Pros/Cons for standalone device vs VM in TrueNAS Scale

Hello!

I am brand new to the homelab/self-hosted hobby and I’ve recently dipped my toes in the Home Assistant world. I spent some time this weekend getting HAOS installed as a VM on my TrueNAS scale box. So far, It’s working, but all I’ve done is transfer over all my alexa devices so far. I haven’t gotten any deeper than that.

I’ve been looking into getting a Raspberry Pi to tinker with, and I see a lot of people decide to use one as their dedicated HA server. Are there any benefits to going one route over the other?

Thanks!