If you eat one 2400 calorie/17 ounce Datrex package per day, you would get roughly 36 grams of protein, with 141 calories per ounce.
You could supplement with a high-protein food and a multivitamin.
But I wouldn't want to eat that diet!
You can always explore the dizzying variety of so-called food bars, most of which are processed beyond recognition.
On the less processed end of the scale, I like Bear Valley bars for breakfast when backpacking and sometimes at home. Better balanced, but only 106 calories per ounce.
And I eat Larabar Jocalat bars daily, roughly 119 calories per ounce. Be careful, since General Mills bought Larabar, they've been sneaking sugar into some flavors.
You could try making your own. Dozens of recipes online and in books. Then you control the ingredients, flavor, and nutrition. Some involve no more cooking than blending raw ingredients and shaping into bars. That's how Larabars got started.