Synology and FreeNAS support backing up to Backblaze B2, both easily configurable in their respective GUIs. Many other popular NAS solutions allow you to install Duplicati, which will allow you to do the same.
I've been thinking about having an external backup of about 5 TB of images, video and documents in an encrypted form but I have issues finding someone who can do it properly.
For now I just have a 2nd nas at my fathers house that mirrors my data.
So will it protect me against ransomware and accidental mass file deletion?
For protection against that you would have to implement periodic snapshots (which many NAS products also support) and sync the snapshots. Or you could probably use B2's built in snapshot feature. Both require additional manual work, though.
[1]: https://rclone.org/