I understand a lot of people do this to save time but boiling your eggs with rice or pasta isn’t hygienic, washing them doesn’t take off all the bacteria on it. Even if you have to, wash the eggs with salt/vinegar, that doesn’t take off the bacteria completely but it sure reduces it. I’ll still recommend boiling eggs separately though.