I don't know about all the picks and swaps but something like this can work if the Heat can't come to terms on a new contract with Jimmy.
Would want one of Herb or Hawkins but I think the Pelicans would want/need all the shooting possible next to Zion. So I put Herb cause I don't think the Pelicans want to pay too much for their team. Pelicans would get their Center they've been looking for while getting off of CJ's contract. Heat would have a youngish lineup of Herro/Ingram/Herb/Jovic/Bam with Jaquez and Ware coming off the bench. They would also have the Rozier and Duncan contracts of 43 million combined as possible trade chips. Pelicans would have a lineup of Murray/Trey/Jimmy/Zion/Ayton. When Jimmy is done then Hawkins can slot at 2 and Trey at the 3.
Let me know your thoughts on this trade. Thanks.