Can someone who's gained access to my iCloud account prevent me from receiving text messages?
No.

iCloud has nothing to do with Text Messages (SMS).

iMessages are sent to all your devices, so even if someone was using your iCloud credentials, you would still receive the iMessages.