Thank you for your question. App Store Connect enforces a 2–30 character limit on the display name, and we are not aware of a published rule that requires display names to be unique within an app, or that rejects identical ones. However, App Review evaluates whether your in-app purchase metadata is clear and accurate (App Review Guidelines, section 2.3), so we can't guarantee that ten items with identical names, differing only in price and duration, will be accepted.
The purchase sheet shows the price, but the display name also appears in other places, such as purchase history, subscription management, receipts and refund requests, where the price may not be visible. To avoid confusion, and to reduce the risk of a review question, we recommend making the names distinguishable, for example by including the duration ("Example Digital – 30 days").
If you need a definitive answer, you can ask App Review through the Resolution Center.