After looking at the swift-syntax repo it seems like very recently they have added the ability to add to function closures in BodyMacro
https://github.com/swiftlang/swift-syntax/blob/main/Sources/SwiftSyntaxMacros/MacroProtocols/BodyMacro.swift
Doesn't seem to be in a release yet.