How about a swap = size_as_percentage_of_available_ram in fly.toml as an experimental feature?
swap = size_as_percentage_of_available_ram
fly.toml