Can I cut the recessed lighting housing rails to make them fit in joists 12" apart?
You can trim the rails so they will fit in a tighter space. Look close there are usually indents in the metal to help with cutting and snapping the rail to a shorter length. This is part of a normal install.