Technically as long as it's not for drinking those items should be allowed, however it will be up to their desrection. If they see something they deem 'suspsicious' they may confiscate it. You are more likley to have the rubbing alcohol confiscated than hand sanitizer.
There is a shop onbaord all RCCL ships and, similar to
DCL, they have a small personal hygiene selection. I don'ty specifically recall seeing rubbing alcohol or hand sanitizer for sale but it might have been there.
The good news is RCCL, like DCL and all other cruise lines, are super aware of hygiene issues and offer purell/hand sanitzer near any and every food venue. You kind of can't go 10 feet without finding some.
During our recent Christmas cruise they made daily announcements about frequent hand washing, and you can't get into a restaurant (or even near one) without someone reminding you to get Purelled.
I would imagine that if you wanted some for your personal use you could go to guest services and ask for some and they would be happy to supply it to you - the last thing they want is for people to get sick.