Is there a rule against teams doing this?

For example why couldn’t McDonald’s sponsor the San Antonio spurs first round pick the same way Kia does with nba awards or jersey logos

“Presented by McDonalds, With the first pick in the 2023 NBA draft the San Antonio Spurs select Victor Wembanyama”