Considering recessed lights in walk in shower
No it would not. You just need to make sure your recessed luminaires are rated for wet location.  As a side note if you have a combo luminaire with a exhaust fan then that would need to be GFCI protected, but just a luminaire with no exhaust fan then that does not need to be GFCI protected.