Can you turn a Parameters tuple type into a record type?

Given

function foo(x:number, y:number) {}

TypeScript inherently has the names of Parameters, and they inherently can’t have dups, which matches the requirements of a Record. So is it possible to derive a Record type from a Parameters type? Such that:

RecordFromTuple<Parameters<typeof foo>> === { x:number, y:number }