Yes, as long as you meet the eligibility criteria on both. For instance, the Roth IRA has income limitations and both have maximum contribution amounts. The IRS has a helpful table that compares the two and includes up-to-date dollar amounts. Keep in mind that contributions are not deductible for either the Roth 401k or Roth IRA.
Roth Comparison Chart