Yes, you may ride in Rhode Island with a valid Massachusetts motorcycle learner's permit, subject to these restrictions:
Violations risk tickets, fines, and permit suspension/revocation. Rhode Island honors out-of-state permits under its reciprocity agreements, but the stricter of the two states' rules applies—so follow MA permit restrictions plus RI-specific ones.