
Very common and often preferable. Code where I’m at requires it to be at least 3’ away from any point which air may enter. This includes air intakes for ventilation, operable sections of windows, and ventilated soffit being used as an intake for attic ventilation.
I know going straight into the attic isn’t ideal, but if you have a large attic with great ventilation it’s usually fine. Do you see any evidence of mold? How is the attic ventilation set up?
This is what we use. They have all sorts of connectors and power supplies. A bit technical and geared towards professionals, but truly customizable at a good price.
I think you can even find their stuff on Scamazon.
https://www.gmlighting.net/product-list/led-task-12v-24v-tape/