Maybe.
300.3(C) Conductors of Different Systems.
(1) 600 Volts, Nominal, or Less. Conductors of ac and dc
circuits, rated 600 volts, nominal, or less, shall be permitted
to occupy the same equipment wiring enclosure, cable, or
raceway. All conductors shall have an insulation rating
equal to at least the maximum circuit voltage applied to any
conductor within the enclosure, cable, or raceway.
Informational Note No. 1: See 725.136(A) for Class 2 and
Class 3 circuit conductors.
Informational Note No. 2: See 690.4(B) for photovoltaic
source and output circuits.