Up until recently it has been fairly simple to make a config/filesystem.php entry for Backblaze B2 and just set the use_path_style_endpoint to true, and set the endpoint based on guides you can find online to connect via their S3 compatible API.
Changes recent to the time of writing this in aws-sdk-php added a x-amz-checksum-crc32 header to write calls, and this header
causes B2 calls to fail. I assume the same is true for Cloudflare R2 but haven't confirmed yet, and possibly other s3 compatible API providers.
(Cloudflare mentions it at the top of this page at the time of writing)
https://developers.cloudflare.com/r2/examples/aws/aws-sdk-php/
I don't believe custom adapter config cant be set in the filesystem.php config file based on my tests. If I'm wrong, would be great to hear how in a response commment.