I have a package that does something similar to what you want, I think. AddToField.jl. I’m not fully following what you mean but it could be helpful. Something like
julia> using AddToField
julia> A = 1:100;
julia> map(A) do a
@addnt begin
@add b = a + 1
@add c = b + a
end
end |> DataFrame
100×2 DataFrame
Row │ b c
│ Int64 Int64
─────┼──────────────
1 │ 2 3
2 │ 3 5
3 │ 4 7
4 │ 5 9
5 │ 6 11
...
Also note that the @astable macro-flag in DataFramesMeta.jl gets somewhat close to the syntax you mention.
If you want to explore this idea more fully I would try to get a non-macro solution working with SplitApplyCombine.jl and see where you land.