Can Roth 401k + catch up contributions be more than earned income?

My earned income is $22k, leaving $20,445 after 1/2 SE tax.  TT is allowing me to put $26,445 into Roth 401k's including the catch-up contribution.  Is it really okay to go higher than the earned income of $22,000?

 

Thanks