You can have opnsense on a private network to serve captive portal + freeradius if you wish.. There are more intuitive / admin friendly options out there though.