This feels more like a hack than a suitable solution. Also, it does not work with static binaries.
It would be nice to have better support for 464xlat clat on linux. Sure, there are implementations like clatd based on tayga (which, by the way, was last updated in 2011???) or jool (out-of-tree kernel module), but setting them up is rather cumbersome. On Android, I automatically get a v4-rmnet0 interface when I connect to an IPv6 only network (such as my mobile network), which provides a local IPv4 gateway for legacy applications and websites, that will automatically do nat64/clat. Prefix-discovery is done using DNS64.