The absolute best iteration of this I can think of works salary wise and roster wise for every team:
Jazz out: Donovan Mitchell, Bojan Bogdanovic and Malik Beasley
Jazz in: Russell Westbrook (buy-out), Obi Toppin, Immanuel Quickley, Derrick Rose
Knicks out: Obi Toppin, Immaunuel Quickley, Derrick Rose, Cam Reddish
Knicks in: Donovan Mitchell
Lakers out: Russell Westbrook
Lakers in: Bojan Bogdanovic, Malik Beasley, Cam Reddish
We also end up with these picks:
2023 Knicks 1st
2023 Dallas 1st (top-10 protected)
2023 Detroit 1st (top-18 protected)
2025 Knicks 1st
2025 Milwaukee 1st (top-4 protected)
2027 Knicks 1st
2027 Lakers 1st
2029 Lakers 1st
Maybe a pick swap or two from the Knicks as well or if the Lakers would rather give their 2028 1st with a pick swap in 27/29 or something. You can also swap out Quickley for Grimes or Beasley for Clarkson and it will still work.