Someone who can't, for deeply held moral convictions, bear arms can get a waiver based on those convictions without belonging to a religious sect.
https://www.uscis.gov/policy-manual/volume-12-part-j-chapter-3#:~:text=Applicant is Not Required,of war.[6]