Does wireguard on openwrt support "PreDown" option?

I have a HiLink 4G modem with IP and every time I disconnect wireguard client I have to fix the routing table manually by typing:

route add default gw

On any other linux distros you can apply PreDown option in the wireguard config file to execute a command after wg interface is down, is it possible to do the same thing on openwrt ?

Use a hotplug script in /etc/hotplug.d/iface. Look at the others for examples