I never really think about where I put the basking light other than having it next to the uvb and above wherever I put the basking branch. One thing that most do in Europe is putting the lights inside the enclosure. It’s much better and safer to have them be outside and on top. If you get a baby or young chameleon, expect it will walk along the screen top, so you’ll want to plan to elevate your lights at least a few inches above the screen to prevent burns. Also, if you don’t have to go all the way to the top with your spray foam, then don’t. Have you looked at Dragon Ledges? While I don’t think you can order them from out of the US, many have crafted their own versions with metal strips.
https://dragonstrand.com/dragon-ledges/
I had made faux panels with spray foam and coco coir for all of my enclosures as it was a good way to block their views of each other, contain water spray, etc. It looked ok and performed as expected, however it’s so very dark in the enclosures. Here’s one with the faux panels vs redone one with just one faux panel and I used cloud shower curtains on the outside (not fully set up yet). I recall Petr Necas saying something about the natural background of chameleons being the sky.
View attachment 338236View attachment 338237