yes, the flavors of pork and beef compliment each other and can be cooked together without issue. many recipes such as meatloaf, spaghetti, meatballs etc call for a combination of both pork and beef, and it makes sense to combine the meats and cook them together in the same pan.