Maximum retirement contributions for self-employment income in 2025

Is this right for 2025 or do these limits interact with each other?  Say I have $30K of net profit from schedule C.  Subtracting half my SE tax, I get $27,881.  Can I contribute all of these?:

1. Employer contribution of 20% of $27,881, which is $5,576, to a traditional Solo 401(k).

2. Employee contribution/deferral of $23,500 to a Roth Solo 401(k).

3. Employee contribution of $7,000 to a Roth IRA.

That totals $36,076.  Assuming that I can find the cash, can I do all three of these?  I created the 401(k)s months ago, so there is no issue with that.