Interior lighting allowed?

Hello I have in front of the footroom of my car to illuminate with a neon tube colored. What is allowed here and what is not? Do footroom markings of this kind have to be connected with door contacts or can you run them also over switches (e.g. only when the car is standing)? Can a footroom lighting stay on the drive or what do you have to do so that you can do this? What do I have to bear in mind so that there are no problems?