No, referral program isn’t web-native because it relies on being able to identify the user, so it would only work with signed-in users.
You could still create your own content to test headlines and manually use custom fields to display referral program content to users who are signed in