While it's true that Home Assistant runs on a Raspberry Pi, once you start adding integrations, the SBC soon gets outmatched.
In order to access your server remotely, you either need to pay for Home Assistant Cloud, set up a VPN so that you can tunnel ...