Cooking the pork loin and vegetables together is possible but requires careful timing. Start roasting the pork loin first, then add the vegetables to the oven partway through the cooking process, ensuring everything finishes cooking simultaneously.