A Mac in the house means a Time Machine disk somewhere, and a USB drive on a desk is the version that never gets plugged in. Unraid can act as that disk over SMB with a share setting most people scroll past.
First check the SMB service itself under Settings > SMB. Set Enable SMB to Yes (you have to stop the array to change it) and set Enhanced macOS interoperability to Yes. Then go to Shares, add a share and use these values from the docs:
Minimum free space: 1
Included disk(s): the array disk(s) for backups
Enable copy-on-write: Auto
SMB export: Yes (Time Machine)
Time Machine volume size: your maximum, or leave unset
The 1 means 1 KB, and the docs say it prevents Time Machine from failing when disks approach capacity. If you’d rather keep a normal minimum free space, apply the share first, open it again and set the volume size below the calculated minimum free space value that then appears.
On the Mac you connect in Finder with Command + K and an address like smb://tower/TimeMachine, log in with an Unraid user that has access to the share, and then pick that share in the Time Machine settings under Add Backup Disk. I’d tick Encrypt backups there as well, since the share sits on a box that also runs a pile of containers. The first backup takes a while and the later ones are incremental.
The caveat is macOS Sequoia. The docs mention users reporting intermittent problems with Time Machine on network shares there, and they suggest the Time Machine Docker container from Community Applications as the alternative if your backups keep failing.
Further reading: Unraid docs: Apple Time Machine, Unraid docs: Shares