AFAIK, external ping of the router is enabled by default on RouterOS in that this rule is present:
add action=accept chain=input comment="Accept ICMP (ping)" protocol=icmp
It's working on my home router but isn't on my portable hAP ax lite LTE although the rule is present. I've enabled DDNS which reveals the current public IP address. But ping to either IP address or DDNS name doesn't work.
My guess is that ping is blocked by the mobile provider 1pmobile?