Can income reported on a 1099-NEC be contributed to Roth IRA (I meet other Roth requirements)

I meet all requirements to contribute to a Roth IRA and would like to use income reported on a 1099-NEC. I currently have not met my 2021 maximum allowed.