No, that is not OK to do. First, you should report your W-2 exactly as it is or your return can easily be flagged. If something is wrong, have your employer adjust your W-2 for going forward (if your total state wages are greater than actual).
Your resident return, MA, has claim to all of your income, earned in any state and you shouldn't adjust it. RI will tax your work income on a nonresident return. While MA taxes all of your income, they'll also give you credit for taxes paid to RI.
For this to calculate properly, you'll need to update the RI (nonresident state) first and then your MA (resident state), last. If you didn't follow this order, be sure to Delete the state (under the State Taxes tab) and then select to + Add a state back in.