assuming you're actually talking about a recovery image ...
i double checked the code, and it looks like the recovery initramfs mounts the rootfs and executes `chromeos-recovery` out of the rootfs to do the partitioning, so it would use the write_gpt.sh from the rootfs.
that said, the end result would still have a modified rootfs installed once the recovery image finishes.
so it's unclear if you're creating the recovery image yourself, or you're grabbing a release one and trying to hack it yourself. the tools for making these kind of tweaks are readily available if you're building your own image, but not if you're hacking one. it's possible, but it's not really documented.
-mike