Yes, just do your research and know what to expect as your trade-in value. Realistically, you will probably get $1-2k less than that I'm guessing. But you should be able to get it close. Last time I did that, my car was worth around $6,000 on KBB. When the dealer appraised my car, they wanted to give me like $2,000 or something. I laughed and said no way, go back and run your numbers again. She went back to her manager multiple times, and each time it got a little higher. $5,000 was my goal, and I would not budge on that... it was the deal breaker for my car. I would even mess with her sometimes, haha... I randomly called her and whispered "FIVE THOUSAND" when she answered... then just hung up... she knew it was me of course, but it was amusing
Anyway, after a few days of haggling, I ended up with a check for $5,000 and the price I wanted on the car

I made sure not to include the trade-in with the financing itself... I didn't want any "hidden" charges or anything. That was why I worked out the price with her first, and then went the route of the trade-in... then of course took the check for the trade-in amount, instead of rolling it in with the payments (especially because it's a lease).
Just know what you want, be realistic, and you should be fine.