Private bucket but make objects with prefix public?

I’m migrating over from AWS and we have a private S3 bucket that all the files are private by default, meaning you need a presigned URL to view / download. But we have a rule that says any object that contains a certain prefix (lets say /users/profile/* ) is publicly accessible. Can we do this with R2? Or do we need to have 2 separate buckets, one for private files and one for public files.