Home Assistant is strange. You can't install it "normally" on a Pi because Python is too old (it wants 3.8, Raspbian has 3.7). You can install it via Docker but then you can't use Add-Ons. If you want full functionality you're really left with one choice - install their entire OS image on a dedicated Pi. For a collection of Python scripts.