DuoLingo has 2 methods for subscriptions/refunds and it depends on the method used. They offer website subscriptions that are only managed by them and in-app purchase subscriptions managed by Apple. The in-app purchase requires you to double click the side button with the amount showing on the screen, followed by verification with FaceID/TouchID or Passcode. It is not something that can be done by accident.
Many times people will start a free trial and forget to cancel it as least 24 hours before the trial period ends, then it will become a subscription, but that is true for all free trials and they have no one else to blame other then themselves.
In most cases, all transactions in the App Store are final. At times, Apple may provide a compassionate refund, but it should never be expected.