You can run Homeassistant on FreeBSD, yes. But like many other linux-centric projects that nowadays only ship their "it runs on my laptop"-containers as official releases, because they have a shit-ton of outdated spaghetti-dependencies yet requiring the latest-and-buggiest versions of some other dependencies, they are openly hostile towards any other installation method and *especially* anything not systemd/linux. So don't expect any help from there - you have to figure out and fix any breakage yourself that will occur regularly during updates.
That being said, I'm running an instance of homeassistant to automate/control various things at home and another one at work. You basically have to set up a full python environment, install everything via pip instead of properly via pkg and hope that all dependencies build correctly on FreeBSD (hint: often they don't). This often takes A LONG TIME even on decent hardware - so don't use toys like raspberry pies for that.
There's been some blog entries on blog.brendans-bits.com on that specific setup and various fixes for bugs/build/other problems with pip packages and python in general, but it seems that site is now gone.
If you feel you need such an automation platform, you might also want to have a look at
misc/openhab which is much more scripting-friendly for automations - in HA you are forced to do everything via the GUI which often makes seemingly dead-simple automation tasks an absolute nightmare and yaml scripts that are possible in some places are an absolue atrocity. I found myself more than once forced to just write a simple shellscript to do the work and then hand over the necessary values/triggers/whatever to HA (or directly to the device I want to control).
In openHAB you can at least write scripts in one of the supported languages - which are python, ruby or javascript, with java(script) being the native one and this brings me to the major problem with it: you swap out one nightmarish language and its ecosystem with another. Startup of openHAB takes forever and its cpu load and memory usage even on an idling fresh installation is ridiculous - but its java, so that's what you signed up for...
At least it just builds and runs out of the box, so in that regard it's much more bearable than HA.
Overall: if you don't have any *really urgent* need for anything those systems offer, don't bother. It will save you a lot of time and A LOT of nerves, grey hairs and evenings full of swearing.
Having used HA for almost 2 years now, I absolutely refuse to do any tasks with it which I consider remotely critical and I expect to always 'just work'. To add some convenience or "gadget-y" functions it's OK, but I'd never rely on it to switch on my lights, let alone give it full control over the solar/battery/heating/car charging energy management. For this (with focus on the latter) there's also evcc - which is even more hostile towards anything that's not based on their images for VMs or raspberry toys. Running this on FreeBSD natively is just impossible thanks to a lot of hard-coded assumptions and very specifyc dependency chains that are impossible to maintain... We run it in a VM at work to control 8 EV chargers and I'll be using it at home soon as an additional control plane, but the inverter handles everything that is supposed to always work.