If you are in an EU region or a country that uses Schuko-type plugs, refer to this.
I found a product with Grounded Plug (duckhead) as shown in the picture below that is a Schuko type for EU.
The grounding function is activated when the Apple Power Adapter ground pin and the plug ground pin are combined.

It says that you can buy it on Amazon now.
https://www.amazon.co.uk/dp/B08JYWKTZ3?ref=myi_title_dp&th=1
Doodle Plug is available for Apple MacBook, iPad chargers in EU countries (Germany, France, Spain, the Netherlands, Belgium, Finland, Norway, Sweden, Austria, Greece, etc.).
- Available for all Apple Chargers (Magsafe, USB Power adapters) with
ground pins
- Anti-static and device protection while charging Apple products
- Compatible with both Schuko type outlets, including the EU and Korea
- Significantly reduce iPad and iPhone touch errors (including Apple
Pencil) while charging
- Reduces the noise of earphones or speakers when charging