Whisk the eggs, Parmesan cheese, dried basil or dried parsley, black pepper, and salt in a bowl, then cover and refrigerate the mixture. The cold mixture will be ready to stir into the rice later, and keeping it chilled helps it combine more smoothly.
Bring the chicken broth or water with salt to a boil in a large saucepan, then stir in the rice, cover, and lower the heat. The rice should cook gently, not rapidly, so it absorbs the liquid evenly.
Cook the rice for 15 to 17 minutes, until most of the liquid is absorbed. It should look moist and starchy, not soupy and not fully dry.
Take the pan off the heat and quickly stir in the egg mixture a little at a time until the rice is evenly coated, then chill the rice mixture in the refrigerator for 1 hour. Stir fast so the eggs coat the hot rice instead of scrambling, and chill until the mixture feels sticky but not wet.
Spread the bread crumbs in a shallow dish. A wide, shallow layer makes coating quicker and less messy.
Dampen your hands and shape the chilled rice into 1-inch balls, adding a cube of mozzarella to the center if using, then roll each ball in the bread crumbs. Press firmly so the balls hold their shape and the coating sticks all around.
Heat the oil in a small, deep skillet or deep fryer to 350 °F, using enough oil to cover the rice balls. When the oil is ready, a small crumb or bit of rice should hit the surface with a lively sizzle.
Fry the rice balls 4 to 6 at a time, turning them as needed for even browning. The outside should become deep golden and crisp without dark spots.
Lift the fried rice balls out with a slotted spoon and drain them on paper towels. They should look crisp and feel light rather than greasy.
Serve warm, plain or with marinara sauce if you like. The center should stay tender, and the optional mozzarella should be soft and melty.